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. ** Attachment added: "2 second delay after playing small wav file" http://launchpadlibrarian.net/51181328/pulseverbose.log -- Ubuntu Lucid / PulseAudio Alsa-Plugin : 2 sec delay https://bugs.launchpad.net/bugs/582600 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
