Changeset 599034e in mainline for uspace/srv/audio/hound/hound_ctx.h
- Timestamp:
- 2013-04-06T13:11:44Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eca79ff
- Parents:
- 5c98bb28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/hound_ctx.h
r5c98bb28 r599034e 39 39 #include <adt/list.h> 40 40 #include <hound/protocol.h> 41 #include <fibril_synch.h> 42 41 43 #include "audio_source.h" 42 44 #include "audio_sink.h" … … 47 49 audio_source_t *source; 48 50 audio_sink_t *sink; 51 fibril_mutex_t guard; 49 52 } hound_ctx_t; 50 53 … … 71 74 size_t size); 72 75 int hound_ctx_stream_read(hound_ctx_stream_t *stream, void *buffer, size_t size); 73 int hound_ctx_stream_add_self(hound_ctx_stream_t *stream, void *data,76 ssize_t hound_ctx_stream_add_self(hound_ctx_stream_t *stream, void *data, 74 77 size_t size, const pcm_format_t *f); 75 78 void hound_ctx_stream_drain(hound_ctx_stream_t *stream); 76 int hound_ctx_stream_add(hound_ctx_stream_t *stream, void *buffer, size_t size,77 pcm_format_t format);78 79 79 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.