auto loading preset with wildcard #3157
Replies: 2 comments 9 replies
-
Honestly I am not sure if it is doable. We do check if the name contains the bus id from the device that went through routing changes https://github.com/wwmm/easyeffects/blob/b26f456cfc4f8035d2c513cbbee842ab9cd03f4e/src/application.cpp#L162C100-L162C106. But I am afraid that in a system with 2 or more soundcards a wildcard approach may get the wrong device. As PipeWire is right now the autoloading is a little tricky to do. We have to listen to routing changes in device objects. But what the user actually selects are what are called node objects. When the routing changes we have search through the node list and finding which is the corresponding device. |
Beta Was this translation helpful? Give feedback.
-
Nevermind, I found a good enough workaround by renaming the node.name by myself with wireplumber rules.
|
Beta Was this translation helpful? Give feedback.
-
Is there a way to use wildcards when autoloading presets? Everytime, I log out and in again, the number of alsa_output.pci-0000_12_00.6.analog-stereo.2 increases by 1.
I tried to add a wildcard (*) at the end of the name, but it was not successful
Is there a way to use a wildcard in the device name?
thanks!
Beta Was this translation helpful? Give feedback.
All reactions