Bug 53911 - resampler leftover buffer is not taken into account when rewinding
Summary: resampler leftover buffer is not taken into account when rewinding
Status: NEW
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
Depends on:
Reported: 2012-08-22 06:40 UTC by Tanu Kaskinen
Modified: 2012-08-22 06:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
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.

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.