Bug 54006 - [cleanup] When lowering sink latency, the core could request a rewind
Summary: [cleanup] When lowering sink latency, the core could request a rewind
Status: NEW
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
Depends on:
Reported: 2012-08-24 13:34 UTC by Tanu Kaskinen
Modified: 2012-08-24 13:34 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-24 13:34:34 UTC
If a sink supports dynamic latency and the latency is adjusted downwards, there needs to be a rewind to ensure that the sink buffer doesn't contain more data than what is allowed by the new latency. This is because rewind requests can't be larger than the configured latency, and if there's more data than that in the buffer, a later rewind request may end up being too small.

The responsibility for issuing the rewind request is currently on the sink implementor. I don't think that's necessary, so I think it would be better to issue the rewind request in the core code.

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.