Pacmd Command To Switch Outputs For An Application?

Home » CentOS » Pacmd Command To Switch Outputs For An Application?
CentOS 1 Comment

just wondering if anyone has figured out how to make pacmd switch the output of a certain application

(lets say chrome browser) from one output (speakers) to another (usb headset).

I can easily do this with the pavucontrol program, but I cant figure out how to make pacmd do it.. any ideas?

Jason

One thought on - Pacmd Command To Switch Outputs For An Application?

  • Hello Jason,

    Have a look at man pactl. You probably need something like

    $ pactl move-sink-input ID SINK

    Regards, Leonard.