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

          Priority: medium
            Bug ID: 64284
                CC: [email protected]
          Assignee: [email protected]
           Summary: Shorter-than-prebuf streams are silent if started
                    corked
        QA Contact: [email protected]
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to