[pulseaudio-tickets] [Bug 103103] The client has not a chance to provide data, when absolute offset is used in a stream without prebuffering and underrun happend for long time

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 6 11:46:10 UTC 2017


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

--- Comment #13 from Tanu Kaskinen <tanuk at iki.fi> ---
I played with the test program a bit, and I noticed that after the pause the
offset is increased. Based on the earlier discussion, I was expecting that the
program would continue writing where it left off. If I remove the offset
incrementing, then there are no overflows, even though the program writes more
than maxlength in one go.

Skipping ahead is a reasonable thing that an application might do after such
pause, but then it must not write the full amount that
pa_stream_writable_size() reported. However, for some reason when I try to
implement this by decreasing length by delta, overflows keep happening. I'll
keep investigating.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20171106/0648704e/attachment.html>


More information about the pulseaudio-bugs mailing list