Changeset bee5349 in mainline for uspace/srv/audio/hound/connection.h


Ignore:
Timestamp:
2013-04-11T21:32:28Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4eff63c
Parents:
d1f144a
Message:

hound: add data available callback

File:
1 edited

Legend:

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

    rd1f144a rbee5349  
    9797    size_t size, pcm_format_t format);
    9898
    99 /**
    100  * Add new data to the connection buffer.
    101  * @param connection Target conneciton.
    102  * @aparam adata Reference counted audio data buffer.
    103  * @return Error code.
    104  */
    105 static inline int connection_push_data(connection_t *connection,
    106     audio_data_t *adata)
    107 {
    108         assert(connection);
    109         assert(adata);
    110         return audio_pipe_push(&connection->fifo, adata);
    111 }
     99int connection_push_data(connection_t *connection, audio_data_t *adata);
    112100
    113101/**
Note: See TracChangeset for help on using the changeset viewer.