I am having the same 2-second delay when I run sox (with pulseaudio) on a small file:
/usr/bin/play /usr/lib/openoffice/basis3.2/share/gallery/sounds/ok.wav
I posted more info here:
https://bugs.launchpad.net/ubuntu/+source/sox/+bug/591003
when I reported it as a sox bug, though it's pulseaudio. (When I kill pulseaudio, the problem goes away).
Attached is a pulseadio log. The delay seems to start at the point in the log when the following is printed:
D: protocol-native.c: Underrun on 'ALSA Playback', 0 bytes in queue. D: sink-input.c: Requesting rewind due to corking D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes idle, timeout in 5 seconds.
I am having the same 2-second delay when I run sox (with pulseaudio) on a small file:
/usr/bin/play /usr/lib/ openoffice/ basis3. 2/share/ gallery/ sounds/ ok.wav
I posted more info here:
https:/ /bugs.launchpad .net/ubuntu/ +source/ sox/+bug/ 591003
when I reported it as a sox bug, though it's pulseaudio.
(When I kill pulseaudio, the problem goes away).
Attached is a pulseadio log. The delay seems to start at the point in the log when the following is printed:
D: protocol-native.c: Underrun on 'ALSA Playback', 0 bytes in queue. suspend- on-idle. c: Sink alsa_output. pci-0000_ 00_1b.0. analog- stereo becomes idle, timeout in 5 seconds.
D: sink-input.c: Requesting rewind due to corking
D: module-