Changes in uspace/srv/audio/hound/audio_sink.h [33b8d024:bee5349] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_sink.h
r33b8d024 rbee5349 54 54 list_t connections; 55 55 /** Sink's name */ 56 c har *name;56 const char *name; 57 57 /** Consumes data in this format */ 58 58 pcm_format_t format; … … 60 60 void *private_data; 61 61 /** Connect/disconnect callback */ 62 errno_t (*connection_change)(audio_sink_t *, bool);62 int (*connection_change)(audio_sink_t *, bool); 63 63 /** Backend callback to check data */ 64 errno_t (*check_format)(audio_sink_t *);64 int (*check_format)(audio_sink_t *); 65 65 /** new data notifier */ 66 errno_t (*data_available)(audio_sink_t *);66 int (*data_available)(audio_sink_t *); 67 67 }; 68 68 … … 77 77 } 78 78 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 *),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 *), 82 82 const pcm_format_t *f); 83 83 84 84 void audio_sink_fini(audio_sink_t *sink); 85 errno_t audio_sink_set_format(audio_sink_t *sink, const pcm_format_t *format);85 int 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.