简体   繁体   中英

How to know active audio device for sox in windows

I'm trying to stream sound from my soundcard using sox's default audio device and dump it as a raw file. Unfortunately no sound is being detected.

Sox always use this as input and I think it's for linux.(correct me if i'm wrong but it doesn't really emit any sound in windows)

 '/dev/dsp' (ossdsp)

In WinXP, I downloaded SoX 14.3.0 from here , and from a command prompt I can do:

sox -d recfile.wav

which records from the soundcard. Where do you see SoX trying to use /dev/dsp ?

sox -d -t wav - | lame - o.mp3

只要确保默认的音频输入是可以在声音控制面板中设置的波形混音即可。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM