[pulseaudio-discuss] Resampler Input/Output buffer sizes

Baek Chang breakchange at gmail.com
Tue Sep 30 10:38:10 PDT 2008


I was messing around with resampler.c in the pulsecore folder.  I was
wondering about the input and output buffer sizes that are passed into
the various resampling methods.  I printed out the size and the output
buffer is larger than the sampling rate ratio times the input buffer
by a large number of samples.  Why is this? Does it have to do with
having extra room to work with?  Also, out_n_frames should be changed
depending on how many samples were processed, but is this in number of
frames per channel?

Thanks



More information about the pulseaudio-discuss mailing list