Changeset b7fd2a0 in mainline for uspace/srv/audio/hound/connection.c
- 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/connection.c
r36f0738 rb7fd2a0 101 101 * @param format format of the destination audio buffer. 102 102 */ 103 int connection_add_source_data(connection_t *connection, void *data,103 errno_t connection_add_source_data(connection_t *connection, void *data, 104 104 size_t size, pcm_format_t format) 105 105 { … … 129 129 * @return Error code. 130 130 */ 131 int connection_push_data(connection_t *connection,131 errno_t connection_push_data(connection_t *connection, 132 132 audio_data_t *adata) 133 133 { 134 134 assert(connection); 135 135 assert(adata); 136 const int ret = audio_pipe_push(&connection->fifo, adata);136 const errno_t ret = audio_pipe_push(&connection->fifo, adata); 137 137 if (ret == EOK && connection->sink->data_available) 138 138 connection->sink->data_available(connection->sink);
Note:
See TracChangeset
for help on using the changeset viewer.