Changeset aab8e3d3 in mainline for uspace/srv/audio/hound/hound_ctx.h
- Timestamp:
- 2013-04-03T19:02:48Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8f8ec69
- Parents:
- b893cd6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/hound_ctx.h
rb893cd6 raab8e3d3 39 39 #include <adt/list.h> 40 40 #include <hound/protocol.h> 41 #include "audio_source.h" 42 #include "audio_sink.h" 41 43 42 44 typedef struct { 43 45 link_t link; 46 list_t streams; 47 audio_source_t *source; 48 audio_sink_t *sink; 44 49 } hound_ctx_t; 45 50 46 51 static inline hound_ctx_t *hound_ctx_from_link(link_t *l) 47 52 { 48 return l ist_get_instance(l, hound_ctx_t, link);53 return l ? list_get_instance(l, hound_ctx_t, link) : NULL; 49 54 } 50 55
Note:
See TracChangeset
for help on using the changeset viewer.