[pulseaudio-discuss] Buffer underun during resampling

Baek Chang baeksan at ccrma.stanford.edu
Thu Oct 2 15:55:22 PDT 2008


What is returned in the next input buffer, when the resampled output buffer
is under by a sample or two?

For example:

Input buffer size is 100 samples.  You are upsampling by a factor of two, so
the output buffer size should be 200 samples.
So if you a doing some processing, and the number of returned samples for
the output buffer is say 199 or 198 samples.
Does the next input buffer account for the missed sample?  It seems like the
next input buffer is returning too many previous samples, but I'm not sure
if that is the case.

Any ideas?

Thanks
Baek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20081002/433eab76/attachment.htm>


More information about the pulseaudio-discuss mailing list