Skip to content

Conversation

@PickNicko13
Copy link

It makes it find the first node that has adevice.id linked to the default output if the default output doesn't have it (i.e. it is a virtual output).

Useful if you want to control (and see) the volume of the actual output and not the effect sink.

May need some polishing and/or style fixing, but it works.

Somewhat related to #4678 , as it may cover some usecases of manual node selection.

It makes it find the first node that has adevice.id linked to the
default output if the default output doesn't have it (i.e. it is a
virtual output).

Useful if you want to control (and see) the volume of the actual output
and not the effect sink.

May need some polishing and/or style fixing, but it works.
@PickNicko13
Copy link
Author

I just realized that sometimes the processing nodes might actually have real outputs for processed audio (e.g. jack standalone effects). The current implementation works with the quirks of the filter-chain pipewire module, but disregards the more normal-looking jack standalone effects. I'll add it sometime tomorrow probably.

Currently it breaks really ungracefully if used with a jack effect node. It kind of... crashes the whole bar.

I'll also add some safe fallbacks and sanity checks while I'm at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant