Changeset 57b28f9 in mainline


Ignore:
Timestamp:
2012-08-30T19:32:49Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a64082
Parents:
3869c596
Message:

libpcm: more helper functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcm/include/pcm/format.h

    r3869c596 r57b28f9  
    6464}
    6565
     66static inline suseconds_t pcm_format_size_to_frames(size_t size,
     67    const pcm_format_t *a)
     68{
     69        return pcm_sample_format_size_to_frames(size, a->channels,
     70            a->sample_format);
     71}
     72
    6673static inline suseconds_t pcm_format_size_to_usec(size_t size,
    6774    const pcm_format_t *a)
Note: See TracChangeset for help on using the changeset viewer.