[pulseaudio-discuss] Crackling audio with Pulseaudio 4.0 and the simple Pulse API.

Peter Meerwald pmeerw at pmeerw.net
Thu Jul 11 01:01:04 PDT 2013


Hello,

> that there is no reuse of the leftover samples across the rewind. This
> also applies to your wrapper, otherwise the following happens:
> pulseaudio pushes some samples to the resampler, resampler (or
> wrapper) remembers the last few of the fed-in samples because they
> would be needed for the next portion, but then pulseaudio feeds in a
> completely unrelated block of audio instead of that portion because of
> the rewind.

thank you for pointing this out

so if there is a rewind, reset() must be called on the resampler

I guess some test code would be handy...

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list