-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
I have a laptop with GNU/Linux Debian (stable/testing/unstable mix) with pulseaudio. sounddevice seems to take the first device in the listing as the default for output, not pulseaudio, for output even if that device (HDMI) is not plugged in.
Interestingly, when HDMI was plugged in into external monitor (with audio speakers) sounddevice showed:
❯ ./examples/play_long_file.py --list-devices
< 0 HDA NVidia: HDMI 1 (hw:0,7), ALSA (0 in, 8 out)
1 HDA NVidia: HDMI 2 (hw:0,8), ALSA (0 in, 8 out)
2 HDA NVidia: HDMI 3 (hw:0,9), ALSA (0 in, 8 out)
> 3 sof-hda-dsp: - (hw:1,7), ALSA (2 in, 0 out)
4 sof-hda-dsp: - (hw:1,31), ALSA (0 in, 2 out)
5 pipewire, ALSA (64 in, 64 out)
6 pulse, ALSA (32 in, 32 out)and after I unplugged HDMI, it found more devices but kept 0th HDMI as the default:
❯ ./examples/play_long_file.py --list-devices
< 0 HDA NVidia: HDMI 0 (hw:0,3), ALSA (0 in, 8 out)
1 HDA NVidia: HDMI 1 (hw:0,7), ALSA (0 in, 8 out)
2 HDA NVidia: HDMI 2 (hw:0,8), ALSA (0 in, 8 out)
3 HDA NVidia: HDMI 3 (hw:0,9), ALSA (0 in, 8 out)
> 4 sof-hda-dsp: - (hw:1,7), ALSA (2 in, 0 out)
5 sof-hda-dsp: - (hw:1,31), ALSA (0 in, 2 out)
6 hdmi, ALSA (0 in, 8 out)
7 pipewire, ALSA (64 in, 64 out)
8 pulse, ALSA (32 in, 32 out)I wonder how I could configure my system directly to help sounddevice to choose correct "device" for output to be pulse?
Metadata
Metadata
Assignees
Labels
No labels