Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

size_t pa_sample_size_of_format ( pa_sample_format_t  f  ) 

Similar to pa_sample_size() but take a sample format instead of a full sample spec.


Definition at line 55 of file sample.c.

References PA_SAMPLE_MAX.

    pa_assert(f >= 0);
    pa_assert(f < PA_SAMPLE_MAX);

    return size_table[f];

Generated by  Doxygen 1.6.0   Back to index