Similar to this post I want to find a command to toggle between 2 audio sinks.
When using my laptop as TV, it shows a ton of audio sinks, and I switch from “Analog Stereo Duplex” to “Digital Stereo (HDMI)-Output + Analog Stereo-Input”.
I tried to use dbus-monitor but no keyword gave any info.
In the end I would convert this into a script to toggle between these 2 sinks, so that I can make it a single button press in KDE connect.
Alternatively, I would like to auto-switch sinks when connecting that HDMI device?
Yes, I think it’s not going to work that way. It’s a bit frustrating that you can’t choose your sinks, label them, and then easily switch with a command.
When I listen to podcasts (Bluetooth from the phone) I want to switch to Stereo Duplex analog (basically using 4 speakers to spread the sound), and then switch back to Analog 5.1 when I’m done - but it’s not so simple. I usually just leave the Audio settings window open ready for when I’m finished to switch back.