Changeset bf13c9a4 in mainline for uspace/srv/audio/hound/hound_ctx.h


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

hound: add stream fifo

File:
1 edited

Legend:

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

    rb266f9e rbf13c9a4  
    5656typedef struct {
    5757        link_t link;
     58        list_t fifo;
    5859        hound_ctx_t *ctx;
    5960        pcm_format_t format;
    6061        int flags;
    6162        size_t allowed_size;
     63        size_t current_size;
    6264} hound_ctx_stream_t;
    6365
     
    7981void hound_ctx_destroy_stream(hound_ctx_stream_t *stream);
    8082
     83int hound_ctx_stream_write(hound_ctx_stream_t *stream, const void *buffer,
     84    size_t size);
     85int hound_ctx_stream_read(hound_ctx_stream_t *stream, void *buffer, size_t size);
     86
    8187#endif
    8288
Note: See TracChangeset for help on using the changeset viewer.