Logo Search packages:      
Sourcecode: pulseaudio version File versions

size_t pa_frame_size ( const pa_sample_spec spec  ) 

Return the size of a frame with the specific sample type

Definition at line 60 of file sample.c.

References pa_sample_spec::channels.

                                                 {
    pa_assert(spec);

    return pa_sample_size(spec) * spec->channels;
}


Generated by  Doxygen 1.6.0   Back to index