Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3556

Troubleshooting • Re: Switch audio output via CLI

$
0
0
Hello,

I suppose that you have another sound card on your RPi5 and that you use pipewire with wireplumber.

You can use "wpctl" to change sink from HDMI to another "sink"
The command:

Code:

$ wpctl status
will give the list of available sinks like:

Code:

Audio ├─ Devices: │      65. Audio interne                       [alsa] │      71. Audio interne                       [alsa] │   ├─ Sinks: │  *   59. Audio interne Stéréo numérique (HDMI) [vol: 0.73] │  ...
In my case (RPi5), I have only 1 sink (59...). So, I cannot change!
If you have several sinks, you can change with:

Code:

$ wpctl set-default <The number at the beginning of theline>

Statistics: Posted by PhL91 — Mon Jul 22, 2024 11:37 am



Viewing all articles
Browse latest Browse all 3556

Trending Articles