Changes in uspace/srv/audio/hound/audio_data.h [b7fd2a0:541eb67] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_data.h
rb7fd2a0 r541eb67 75 75 void audio_pipe_fini(audio_pipe_t *pipe); 76 76 77 errno_t audio_pipe_push(audio_pipe_t *pipe, audio_data_t *data);77 int audio_pipe_push(audio_pipe_t *pipe, audio_data_t *data); 78 78 audio_data_t *audio_pipe_pop(audio_pipe_t *pipe); 79 79 … … 113 113 * Reference counted buffer is created automatically. 114 114 */ 115 static inline errno_t audio_pipe_push_data(audio_pipe_t *pipe,115 static inline int audio_pipe_push_data(audio_pipe_t *pipe, 116 116 const void *data, size_t size, pcm_format_t f) 117 117 { 118 118 audio_data_t *adata = audio_data_create(data, size, f); 119 119 if (adata) { 120 const errno_t ret = audio_pipe_push(pipe, adata);120 const int ret = audio_pipe_push(pipe, adata); 121 121 audio_data_unref(adata); 122 122 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.