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


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

hound: move audio_data_t to a new header file

make ctx streams opaque

File:
1 edited

Legend:

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

    rbf13c9a4 r23878dc  
    5454}
    5555
    56 typedef struct {
    57         link_t link;
    58         list_t fifo;
    59         hound_ctx_t *ctx;
    60         pcm_format_t format;
    61         int flags;
    62         size_t allowed_size;
    63         size_t current_size;
    64 } hound_ctx_stream_t;
    65 
    66 static inline hound_ctx_stream_t *hound_ctx_stream_from_link(link_t *l)
    67 {
    68         return l ? list_get_instance(l, hound_ctx_stream_t, link) : NULL;
    69 }
     56typedef struct hound_ctx_stream hound_ctx_stream_t;
    7057
    7158
     
    9077 * @}
    9178 */
    92 
Note: See TracChangeset for help on using the changeset viewer.