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


Ignore:
Timestamp:
2013-04-05T12:23:58Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c5b8548
Parents:
f1438e5
Message:

hound: switch connection to audio pipe

File:
1 edited

Legend:

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

    rf1438e5 r50179b63  
    4949        link_t sink_link;
    5050        link_t hound_link;
    51         list_t fifo;
     51        audio_pipe_t fifo;
    5252        audio_sink_t *sink;
    5353        audio_source_t *source;
     
    7575    size_t size, pcm_format_t format);
    7676
    77 int connection_push_data(connection_t *connection, audio_data_t *adata);
     77static inline int connection_push_data(connection_t *connection,
     78    audio_data_t *adata)
     79{
     80        assert(connection);
     81        assert(adata);
     82        return audio_pipe_push(&connection->fifo, adata);
     83}
    7884
    7985static inline const char *connection_source_name(connection_t *connection)
Note: See TracChangeset for help on using the changeset viewer.