Changeset ea6c838 in mainline for uspace/srv/audio/hound/audio_sink.h
- Timestamp:
- 2012-07-17T08:26:49Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6bba8f
- Parents:
- 950110ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_sink.h
r950110ee rea6c838 41 41 #include <bool.h> 42 42 #include <fibril.h> 43 #include <pcm/format.h> 43 44 44 45 #include "audio_source.h" 45 #include "audio_format.h"46 46 47 47 typedef struct audio_sink audio_sink_t; … … 51 51 list_t sources; 52 52 const char *name; 53 audio_format_t format;53 pcm_format_t format; 54 54 void *private_data; 55 55 int (*connection_change)(audio_sink_t *, bool); … … 64 64 int audio_sink_init(audio_sink_t *sink, const char *name, 65 65 void *private_data, int (*connection_change)(audio_sink_t *, bool), 66 int (*check_format)(audio_sink_t *), const audio_format_t *f);66 int (*check_format)(audio_sink_t *), const pcm_format_t *f); 67 67 void audio_sink_fini(audio_sink_t *sink); 68 68 69 int audio_sink_set_format(audio_sink_t *sink, const audio_format_t *format);69 int audio_sink_set_format(audio_sink_t *sink, const pcm_format_t *format); 70 70 int audio_sink_add_source(audio_sink_t *sink, audio_source_t *source); 71 71 int audio_sink_remove_source(audio_sink_t *sink, audio_source_t *source);
Note:
See TracChangeset
for help on using the changeset viewer.