Changeset b266f9e in mainline for uspace/srv/audio/hound/hound_ctx.h
- Timestamp:
- 2013-04-04T11:15:41Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf13c9a4
- Parents:
- 6133470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/hound_ctx.h
r6133470 rb266f9e 54 54 } 55 55 56 typedef struct { 57 link_t link; 58 hound_ctx_t *ctx; 59 pcm_format_t format; 60 int flags; 61 size_t allowed_size; 62 } hound_ctx_stream_t; 63 64 static inline hound_ctx_stream_t *hound_ctx_stream_from_link(link_t *l) 65 { 66 return l ? list_get_instance(l, hound_ctx_stream_t, link) : NULL; 67 } 68 69 56 70 hound_ctx_t *hound_record_ctx_get(const char *name); 57 71 hound_ctx_t *hound_playback_ctx_get(const char *name); … … 61 75 bool hound_ctx_is_record(hound_ctx_t *ctx); 62 76 77 hound_ctx_stream_t *hound_ctx_create_stream(hound_ctx_t *ctx, int flags, 78 pcm_format_t format, size_t buffer_size); 79 void hound_ctx_destroy_stream(hound_ctx_stream_t *stream); 80 63 81 #endif 64 82
Note:
See TracChangeset
for help on using the changeset viewer.