Menu

#205 Feature request - default audio device

open
nobody
None
5
2025-07-10
2015-10-23
Mike
No

I've been beating my head again the wall for several days trying to get around the message
"sox FAIL sox: Sorry, there is no default audio device configured."

How about a --help-configuration option tht displays all the defined audio devices
and their capabilities?

Discussion

  • Mike

    Mike - 2015-10-23

    Calarification:
    version 14.4.2 running on Win7Pro32, and I'm trying to play an audio file.
    It can't find the speakers.

     
  • isidroco

    isidroco - 2022-09-11

    Same problem here, w7 x64 it fails even manually specifying Sound Card's name, or any soundcard number (i have two audio cards) ie: sox infile −t waveaudio 2

     
  • Martin Guy

    Martin Guy - 2025-07-10

    On Windows, to get access to the audio device you need to have said
    set AUDIODRIVER=waveaudio
    before launching SoX, or use sox foo.mp3 -t waveaudio -d
    https://codeberg.org/sox_ng/sox_ng/issues/396

    Just saying sox should list, in one of the final paragraphs, AUDIO DEVICE DRIVERS, the audio drivers that are available.

    To select a particular audio device as the default one if you have several, you can
    set AUDIODEV=blablabla
    though I don't know what blablabla should be for waveaudio devices.

    As for something to list the available audio devices, that is a good idea
    https://codeberg.org/sox_ng/sox_ng/issues/521

     

Log in to post a comment.

MongoDB Logo MongoDB