Changes in uspace/srv/audio/hound/audio_sink.h [bee5349:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_sink.h
rbee5349 rb7fd2a0 60 60 void *private_data; 61 61 /** Connect/disconnect callback */ 62 int (*connection_change)(audio_sink_t *, bool);62 errno_t (*connection_change)(audio_sink_t *, bool); 63 63 /** Backend callback to check data */ 64 int (*check_format)(audio_sink_t *);64 errno_t (*check_format)(audio_sink_t *); 65 65 /** new data notifier */ 66 int (*data_available)(audio_sink_t *);66 errno_t (*data_available)(audio_sink_t *); 67 67 }; 68 68 … … 77 77 } 78 78 79 int audio_sink_init(audio_sink_t *sink, const char *name, void *private_data,80 int (*connection_change)(audio_sink_t *, bool),81 int (*check_format)(audio_sink_t *), int (*data_available)(audio_sink_t *),79 errno_t audio_sink_init(audio_sink_t *sink, const char *name, void *private_data, 80 errno_t (*connection_change)(audio_sink_t *, bool), 81 errno_t (*check_format)(audio_sink_t *), errno_t (*data_available)(audio_sink_t *), 82 82 const pcm_format_t *f); 83 83 84 84 void audio_sink_fini(audio_sink_t *sink); 85 int audio_sink_set_format(audio_sink_t *sink, const pcm_format_t *format);85 errno_t audio_sink_set_format(audio_sink_t *sink, const pcm_format_t *format); 86 86 void audio_sink_mix_inputs(audio_sink_t *sink, void* dest, size_t size); 87 87
Note:
See TracChangeset
for help on using the changeset viewer.