[pulseaudio-tickets] [Bug 64284] New: Shorter-than-prebuf streams are silent if started corked

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 6 08:52:04 PDT 2013


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

          Priority: medium
            Bug ID: 64284
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: Shorter-than-prebuf streams are silent if started
                    corked
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: tanuk at iki.fi
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: core
           Product: PulseAudio

If a stream is shorter than prebuf, and the stream is started in the corked
state, its audio will get discarded when uncorking.

I'll attach a program that reproduces the issue, and a fix for the bug. The fix
is a quick hack, and probably not suitable as the final solution. I haven't
investigated the root cause myself that deeply yet, but I was told that the
audio gets discarded during rewinding, so the proper fix probably involves
modifying the rewinding code.

How to compile test.c:

gcc test.c -std=c99 $(pkg-config --cflags --libs libpulse) -lm -o test

-- 
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: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20130506/892d0d8d/attachment.html>


More information about the pulseaudio-bugs mailing list