Changes in uspace/srv/audio/hound/audio_source.h [b7fd2a0:4eff63c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_source.h
rb7fd2a0 r4eff63c 55 55 void *private_data; 56 56 /** Callback for connection and disconnection */ 57 errno_t (*connection_change)(audio_source_t *source, bool added);57 int (*connection_change)(audio_source_t *source, bool added); 58 58 /** Ask backend for more data */ 59 errno_t (*update_available_data)(audio_source_t *source, size_t size);59 int (*update_available_data)(audio_source_t *source, size_t size); 60 60 }; 61 61 … … 70 70 } 71 71 72 errno_t audio_source_init(audio_source_t *source, const char *name, void *data,73 errno_t (*connection_change)(audio_source_t *, bool),74 errno_t (*update_available_data)(audio_source_t *, size_t),72 int audio_source_init(audio_source_t *source, const char *name, void *data, 73 int (*connection_change)(audio_source_t *, bool), 74 int (*update_available_data)(audio_source_t *, size_t), 75 75 const pcm_format_t *f); 76 76 void audio_source_fini(audio_source_t *source); 77 errno_t audio_source_push_data(audio_source_t *source, const void *data,77 int audio_source_push_data(audio_source_t *source, const void *data, 78 78 size_t size); 79 79 static inline const pcm_format_t *audio_source_format(const audio_source_t *s)
Note:
See TracChangeset
for help on using the changeset viewer.