[pulseaudio-tickets] [Bug 53908] New: alsa-sink doesn't take tsched_watermark into account when rewinding

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 21 22:33:54 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53908

             Bug #: 53908
           Summary: alsa-sink doesn't take tsched_watermark into account
                    when rewinding
    Classification: Unclassified
           Product: PulseAudio
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: alsa
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: tanuk at iki.fi
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list