Changeset 9e1800c in mainline for uspace/lib/hound/include/hound/client.h
- Timestamp:
- 2013-03-17T16:23:57Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bd5860f
- Parents:
- 504f1ea3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/hound/include/hound/client.h
r504f1ea3 r9e1800c 39 39 #include <async.h> 40 40 #include <stdbool.h> 41 #include <pcm/ sample_format.h>41 #include <pcm/format.h> 42 42 43 43 #define DEFAULT_SINK "default" … … 48 48 49 49 hound_context_t * hound_context_create_playback(const char *name, 50 unsigned channels, unsigned rate, pcm_sample_format_t format, size_t bsize);50 pcm_format_t format, size_t bsize); 51 51 hound_context_t * hound_context_create_capture(const char *name, 52 unsigned channels, unsigned rate, pcm_sample_format_t format, size_t bsize);52 pcm_format_t format, size_t bsize); 53 53 void hound_context_destroy(hound_context_t *hound); 54 54 … … 64 64 int hound_context_disconnect_target(hound_context_t *hound, const char* target); 65 65 66 hound_stream_t *hound_stream_create(hound_context_t *hound, unsigned flags, 67 pcm_format_t format, size_t bsize); 68 void hound_stream_destroy(hound_stream_t *stream); 69 70 int hound_stream_write(hound_stream_t *stream, const void *data, size_t size); 71 int hound_stream_read(hound_stream_t *stream, void *data, size_t size); 72 66 73 int hound_write_main_stream(hound_context_t *hound, 67 74 const void *data, size_t size); … … 69 76 int hound_write_replace_main_stream(hound_context_t *hound, 70 77 const void *data, size_t size); 71 int hound_write_immediate_stream(hound_context_t *hound, 72 const void *data, size_t size); 73 74 hound_stream_t *hound_stream_create(hound_context_t *hound, unsigned flags, 75 unsigned channels, unsigned rate, pcm_sample_format_t format); 76 void hound_stream_destroy(hound_stream_t *stream); 77 78 int hound_stream_write(hound_stream_t *stream, const void *data, size_t size); 79 int hound_stream_read(hound_stream_t *stream, void *data, size_t size); 78 int hound_write_immediate(hound_context_t *hound, 79 pcm_format_t format, const void *data, size_t size); 80 80 81 81
Note:
See TracChangeset
for help on using the changeset viewer.