FS#29524 - [sox] play does not work anymore.
Attached to Project:
Arch Linux
Opened by Mikolaj Romel (wassup) - Wednesday, 18 April 2012, 14:38 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 03 June 2012, 04:03 GMT
Opened by Mikolaj Romel (wassup) - Wednesday, 18 April 2012, 14:38 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 03 June 2012, 04:03 GMT
|
Details
Description:
After upgrading sox from version 14.3.2-6 to 14.4.0-1 'play' command stopped working. The error message is rather cryptic: $ play /usr/share/sounds/freedesktop/stereo/complete.oga play FAIL formats: can't open output file `default': can not open audio device: Connection refused $ I believe it might correlate to 'play' trying to use pulseaudio, which I do not use - I use plain alsa. Additional info: * version affected - sox 14.4.0-1 Steps to reproduce: Play any audio file using play + plain alsa. |
This task depends upon
Closed by Eric Belanger (Snowman)
Sunday, 03 June 2012, 04:03 GMT
Reason for closing: Fixed
Additional comments about closing: sox-14.4.0-2
Sunday, 03 June 2012, 04:03 GMT
Reason for closing: Fixed
Additional comments about closing: sox-14.4.0-2
$ sox infile -t alsa
or a wrapper script.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664301
I'm using this fix for now:
export AUDIODRIVER=alsa
I'm not using 'export AUDIODRIVER=alsa' and the only PA references I can find on my system are /usr/lib/sox/libsox_fmt_pulseaudio.a and /usr/lib/sox/libsox_fmt_pulseaudio.so.
Looks like arch isn't alone either: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664301