Public bug reported:

Binary package hint: sox

I love being able to type "play music.ogg" and have music come out my
speakers. Unfortunately the play command hogs the audio device by
default, so if any other program is using it, play refuses to work.

I was able to fix this problem for myself quite easily, by changing part
of the /usr/bin/play shell script from

  Linux|FreeBSD)
    arch_defines="-t ossdsp"
    if [ -z "$device" ]; then
       if [ -c "/dev/sound/dsp" ]; then
           device="/dev/sound/dsp"
       else
           device="/dev/dsp"
       fi
    fi
    ;;

to

  Linux)
    arch_defines="-t alsa"
    device="default"
    ;;

...but it should work by default for everyone.

** Affects: sox (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
"play" command doesn't use ALSA by default
https://launchpad.net/bugs/84609

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to