Changeset c799138 in mainline for uspace/srv/audio/hound/connection.c
- Timestamp:
- 2013-04-11T01:34:41Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 250828a
- Parents:
- f0a647c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/connection.c
rf0a647c rc799138 40 40 #include "connection.h" 41 41 42 /** 43 * Create connection between source and sink. 44 * @param source Valid source structure. 45 * @param sink Valid sink structure. 46 * @return pointer to a valid connection structure, NULL on failure. 47 * 48 * Reports new connection to both the source and sink. 49 */ 42 50 connection_t *connection_create(audio_source_t *source, audio_sink_t *sink) 43 51 { … … 64 72 } 65 73 74 /** 75 * Destroy existing connection 76 * @param connection The connection to destroy. 77 * 78 * Disconnects from both the source and the sink. 79 */ 66 80 void connection_destroy(connection_t *connection) 67 81 { … … 80 94 } 81 95 96 /** 97 * Update and mix data provided by the source. 98 * @param connection the connection to add. 99 * @param data Destination audio buffer. 100 * @param size size of the destination audio buffer. 101 * @param format format of the destination audio buffer. 102 */ 82 103 ssize_t connection_add_source_data(connection_t *connection, void *data, 83 104 size_t size, pcm_format_t format)
Note:
See TracChangeset
for help on using the changeset viewer.