Changeset b7fd2a0 in mainline for uspace/srv/audio/hound/audio_data.h
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_data.h
r36f0738 rb7fd2a0 75 75 void audio_pipe_fini(audio_pipe_t *pipe); 76 76 77 int audio_pipe_push(audio_pipe_t *pipe, audio_data_t *data);77 errno_t 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 int audio_pipe_push_data(audio_pipe_t *pipe,115 static inline errno_t 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 int ret = audio_pipe_push(pipe, adata);120 const errno_t 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.