Changeset c799138 in mainline for uspace/srv/audio/hound/connection.c


Ignore:
Timestamp:
2013-04-11T01:34:41Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
250828a
Parents:
f0a647c
Message:

hound: doxygen and cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/connection.c

    rf0a647c rc799138  
    4040#include "connection.h"
    4141
     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 */
    4250connection_t *connection_create(audio_source_t *source, audio_sink_t *sink)
    4351{
     
    6472}
    6573
     74/**
     75 * Destroy existing connection
     76 * @param connection The connection to destroy.
     77 *
     78 * Disconnects from both the source and the sink.
     79 */
    6680void connection_destroy(connection_t *connection)
    6781{
     
    8094}
    8195
     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 */
    82103ssize_t connection_add_source_data(connection_t *connection, void *data,
    83104    size_t size, pcm_format_t format)
Note: See TracChangeset for help on using the changeset viewer.