sox FAIL sox: Sorry, there is no default audio device configured

[email protected] Fri, 7 May 2021 17:20:52 +0200
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
Hi,

I am using Mansr's v14.4.2 on Windows 10 Pro (v. 20H2) and I am trying
to play a simple wav-file with sox. Didn't try it in Linux. Earlier it
went with "sox music.wav -d" or the renamed play. By the way, it doesn't
work with the older version of Sox 14.3.1 either.

I tried to get the name of my device and more informations. I used
"SoundVolumeView" to get all informations about the existing devices. My
"Command-Line Friendly ID" is "Realtek High Definition
Audio\Device\Lautsprecher\Render".

I tried to set the default device with this program. Nothing changed.

All these things do not work the same way:
play music.wav -t waveaudio
sox -t waveaudio default music.wav (-> output: sox FAIL formats: no
handler for given file type `waveaudio')
sox -t waveaudio -d music.wav (-> output: sox FAIL formats: no handler
for given file type `waveaudio')

Then I tried (before the sox command):
set AUDIODEV=0 (instead of "0": 1 to 5)
set AUDIODEV="Lautsprecher"
set AUDIODEV="Realtek High Definition Audio\Device\Lautsprecher\Render"
set AUDIODEV=default
...

Everything I found in the web and my tries above:
"sox FAIL sox: Sorry, there is no default audio device configured"

Any idea? Solutions found in the web don't work...

Regards
Thomas

_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users