Bug 53911 - resampler leftover buffer is not taken into account when rewinding
resampler leftover buffer is not taken into account when rewinding
Status: NEW
Product: PulseAudio
Classification: Unclassified
Component: core
unspecified
Other All
: medium normal
Assigned To: pulseaudio-bugs
pulseaudio-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-22 06:40 UTC by Tanu Kaskinen
Modified: 2012-08-22 06:40 UTC (History)
1 user (show)

See Also:


Attachments

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.