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

size_t pa_bytes_per_second ( const pa_sample_spec spec  ) 

Return the amount of bytes playback of a second of audio with the specified sample type takes

Definition at line 65 of file sample.c.

References pa_sample_spec::rate.

                                                       {
    pa_assert(spec);
    return spec->rate*pa_frame_size(spec);
}


Generated by  Doxygen 1.6.0   Back to index