Created attachment 84721 [details] Daemon debug log of git master with "pacat --rate=5" Pulseaudio daemon aborts when a client tries to play back audio at sample rate range 1Hz..5Hz. The following commandline triggers the issue on 4.0 and on git master: $ echo foobar | pacat --rate=1 The error is: E: [null-sink] sink-input.c: Assertion 'tchunk.length > 0' failed at pulsecore/sink-input.c:933, function pa_sink_input_peek(). Aborting. This happens on both null-sink and on alsa-sink. Debug log is attached (null-sink case).
For some reason I thought PulseAudio doesn't support rates below 25 Hz, but now I can't find any reference to such magic number... Apparently I have imagined the whole thing. Anyway, thanks for the report. I'm investigating the bug.
Patch sent to the mailing list: http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/18120
http://freedesktop.org/software/pulseaudio/doxygen/sample.html Sample Rates PulseAudio supports any sample rate between 1 Hz and 192000 Hz.
The fix was committed already a while ago: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=d448ef04e9e8f42664b52347f43aabcf33e94bdc Marking this bug now as fixed.
*** Bug 73621 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.