Bug 53908 - alsa-sink doesn't take tsched_watermark into account when rewinding
Summary: alsa-sink doesn't take tsched_watermark into account when rewinding
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: alsa (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 05:33 UTC by Tanu Kaskinen
Modified: 2018-07-30 10:17 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tanu Kaskinen 2012-08-22 05:33:54 UTC
tsched_watermark determines how much the alsa sink needs to leave headroom to the buffer so that it has enough time to fill the buffer before an underrun. The watermark is used when calculating how long to sleep before refilling the buffer, but it should also be used when rewinding, because after the alsa buffer has been rewound, the buffer needs to be immediately refilled. That will of course take time, and if you don't take tsched_watermark into account when deciding how much to rewind, the buffer may be too empty to get the refilling done in time.

Discussion: http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-August/014513.html
Comment 1 GitLab Migration User 2018-07-30 10:17:12 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/318.


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.