Bug 53911

Summary: resampler leftover buffer is not taken into account when rewinding
Product: PulseAudio Reporter: Tanu Kaskinen <tanuk>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tanu Kaskinen 2012-08-22 06:40:34 UTC
The resampler leftover buffer can contain data from a sink input, data which has been popped from the sink input implementor but not yet pushed to the render_memblockq. That data is not currently taken into account when rewinding. When doing a rewind that affects the resampler, the leftover data is discarded, and that is not compensated in any way, which means that the data is completely lost and there's a skip in the audio.

In practice the leftover buffer is rarely used and even if it is used, it will contain a minimal amount of data, so the user-visible effect of this bug is minor.
Comment 1 GitLab Migration User 2018-07-30 09:37:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/55.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.