[pulseaudio-tickets] [Bug 101121] New: padsp: misaligned fragment size or odd return from read() will cause pa_stream_write() to fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 20 15:48:07 UTC 2017


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

            Bug ID: 101121
           Summary: padsp: misaligned fragment size or odd return from
                    read() will cause pa_stream_write() to fail
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tools
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: aiju-freedesktop at phicode.de
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Since commit 150ace90f3808bbb7240e18a11140d66a7bda146 pulseaudio will cause
pa_stream_write() to fail if supplied with a number of bytes that is not a
multiple of the frame size. However padsp does not cope with this, in
particular it will generate fragment sizes that are not multiples of the frame
size (e.g. 7350 bytes for 44100 Hz 16-bit stereo).
It will also fail if read() returned a number of bytes that is not multiple of
the frame size.

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


More information about the pulseaudio-bugs mailing list