Pulseaudio volume handling rework - #556
Draft
AKArien wants to merge 13 commits into
Draft
Conversation
AKArien
force-pushed
the
volume-rework
branch
3 times, most recently
from
September 3, 2026 10:21
1dfb89a to
0e3b360
Compare
De-duplicates logic using a mixer singleton, not unlike the wireplumber mixer. This serves to share the gvc handling code between the locker and the panel. The interface is generic enough to allow for new features : - `volume` panel widget now presents a toggle to mute/unmute - `microphone` « widget », which is a sub-configuration of `volume` with which it shares it’s configuration. - The locker can now control volume instead of just un/muting, by virtue of re-using the same widget as the panel. This approach also helps a potential de-coupling of the audio control widgets from a sound server, at least for allowing `volume` to work natively on pw/wp.
AKArien
force-pushed
the
volume-rework
branch
from
September 3, 2026 13:42
0e3b360 to
848161c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on #532, which is itself based on #531
De-duplicates logic using a mixer singleton, not unlike the wireplumber mixer.
This serves to share the gvc handling code between the locker and the panel. The interface is generic enough to allow for new features :
volumepanel widget now presents a toggle to mute/unmutemicrophone« widget », which is a sub-configuration ofvolumewith which it shares it’s configuration.This approach also helps a potential de-coupling of the audio control widgets from a sound server, at least for allowing
volumeto work natively on pw/wp.