Ignore:
Timestamp:
2012-07-15T15:25:43Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5cd5079
Parents:
2cc5c835
Message:

Add frame count to event report.

This enables applications to detect underruns.

File:
1 edited

Legend:

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

    r2cc5c835 r57e8b3b  
    6161
    6262
    63 
     63static inline size_t audio_format_frame_size(const audio_format_t *a)
     64{
     65        return a->channels * pcm_sample_format_size(a->sample_format);
     66}
    6467
    6568bool audio_format_same(const audio_format_t *a, const audio_format_t* b);
Note: See TracChangeset for help on using the changeset viewer.