[pulseaudio-tickets] [Bug 98475] pacat fails in pa_stream_write() for some channel counts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 22 20:37:21 UTC 2016


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

--- Comment #2 from Ahmed S. Darwish <darwish.07 at gmail.com> ---
These are 3 bugs in one psymptom ;-) Fixes for the first two are sent here:

   
https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-November/027175.html

   
https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-November/027176.html

Due to the above two fixes, commands like below ones now work succesfully:

    pacat --channels=3 /dev/urandom
    pacat --channels=5 /dev/urandom

Third issue can be reproduced with the following command:

    pacat  --channels=3 /dev/random

Note device change from urandom to random. Above final issue makes
pa_stream_write() fails with EINVAL due to misaligned audio - which resulted
from an incomplete pa_read() due to /dev/random strict randomness semantics.
Maybe we should use a ring buffer in that case. Third patch to be sent soon.

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


More information about the pulseaudio-bugs mailing list