WSJTX and how to select external USB sound card

Hello,

I'm installed FreeBSD 13.2-STABLE on Lenovo x240. Everything works perfectly so far.

I want try VHF digi modes with WSJTX 2.5.4. I'm using external USB sound card. How to select USB sound card in WSJTX? Application shows only OSS item.

Code:
cat /dev/sndstat
Installed devices:
pcm0: <Intel Haswell (HDMI/DP 8ch)> (play)
pcm1: <Realtek ALC292 (Analog 2.0+HP/2.0)> (play/rec) default
pcm2: <Realtek ALC292 (Internal Analog Mic)> (rec)
pcm3: <USB audio> (play/rec)
No devices installed from userspace.

Thank you.
 

Attachments

  • Screenshot_2023-10-01_06-13-32.png
    Screenshot_2023-10-01_06-13-32.png
    39.6 KB · Views: 132
Last edited by a moderator:
When your application only shows oss then it takes the device that is selected for system sound in general.

Your external soundcard i guess is pcm3: <USB audio> (play/rec).

Right now your internal soundcard pcm1: <Realtek ALC292 (Analog 2.0+HP/2.0)> (play/rec) is selected.

To select your external soundcard run sysctl hw.snd.default_unit=3.

An restart of your application might be needed.
 
Thank you very much for replay.

But with command: sysctl hw.snd.default_unit=3

will be selected default sound card for all applications? That if I want play some audio on Youtube and run WSJTX together ?
 
will be selected default sound card for all applications?
Yes. Both the sound of Youtube and WSJTX will be send to /dev/dsp3 because it's the default output device, so you will hear both at the same time. You can choose to configure the youtube browser or WSJTX to send their audio to other devices, e.g. /dev/dsp2 or /dev/dsp4. Applications usually have a configuration option for that.
 
Back
Top