easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Change Input/Output Device from command line/script

Open HannahSlaughterZacharski1988 opened this issue 1 year ago • 1 comments

Discussed in https://github.com/wwmm/easyeffects/discussions/1337

Originally posted by Ameb January 14, 2022 Hello. I use multiple audio devices. keep all of them connected and use the Input / Output device dropdown to switch between them (Easyeffects is my default device in pipewire)

$ pactl get-default-sink   
easyeffects_sink

Is it possible to change the input/output device from CLI or a script? We can bind presets to devices, but not the other way around.

A screenshot to understand what i mean with the device dropdown:

image

Cheers

Is it possible to change the input/output device from CLI or a script?

Yes. Following the idea at #916 all you have to do is constructing the right path Screenshot from 2022-09-13 20-00-30

Easyeffects is my default device in pipewire

If you ever enable Use Default Output/Input again do not do this.

wwmm avatar Sep 13 '22 23:09 wwmm

This issue can be closed.

wwmm avatar Oct 29 '22 14:10 wwmm