You are not logged in.

#1 2021-04-01 11:46:52

jerryDaBaaws
Member
Registered: 2020-06-08
Posts: 115

can't toggle default audio device

I am unable to switch between my laptop and bluetooth speaker via cli commands. I am using pipewire at the moment, so pacmd doesn't work anymore, I have to use pactl only.

output of pactl list sinks short

42	alsa_output.pci-0000_00_1f.3.analog-stereo	PipeWire	s32le 2ch 48000Hz	RUNNING
50	bluez_output.30_C0_1B_43_78_C5.a2dp-sink	PipeWire	s16le 2ch 48000Hz	RUNNING

now if `Build in Speakers` are set as fallback device in pavucontrol and I run

pactl set-default-sink 50

, my bluetooth device becomes the fallback device

but if its opposite, and I run

pactl set-default-sink 42

, nothing is happening, I have to manually select via pavucontrol to make default speakers as fallback device again.

how I can successfully do this in pipewire ?

Offline

Board footer

Powered by FluxBB