I installed 12.2 with LXDE/openbox, and loaded package
sox-14.4.0-2.1.2.i586 “The Swiss knife for sound”. SOX provides
command “play” to play audio files but “play” fails with message
play FAIL formats: can't open output file `default': can not open audio device: Connection refused
The problem is that by default SOX expects to use the pulse-audio driver but
openSUSE’s default is ALSA and the pulse-audio driver is not installed.
A fix would be for the 12.2 SOX rpm to set environment
variable AUDIODRIVER=alsa. The workaround is to either set
AUDIODRIVER=alsa in /etc/bash.bashrc.local or use the command
env AUDIODRIVER=alsa play mysound.au
Roger