Repository navigation
Resolve the audio volume sink on Pipewire changes instead of every 15 seconds - #15033
Merged
Merged
Conversation
… seconds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
…ects settings changes Addresses Codex review: a script read still running could overwrite the hardware fast path's answer, and an idle EasyEffects resolves through its settings file, which changes without a graph event. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Addresses Greptile review: the rerun test only checked the stale flag, so removing the rerun would still pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 12, 2026
Closed
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.
The audio panel ran
omarchy-audio-output-sink(bash plus severalpactlcalls) every 15 seconds on every monitor, whether or not the panel was open. The timer was a safety net in case a speaker tuning or EasyEffects was applied or removed underneath the selected output.Those changes show up in Pipewire's graph, so the sink is now re-resolved when the default sink changes (as before), and when nodes or link groups come and go. A short debounce means a burst of changes resolves once, and a change during a resolve runs it again afterwards. A hardware output (
alsa_output.*) is its own volume sink, which the script reports without looking further, so that common case no longer spawns anything.Verified on a running desktop with a hardware default sink: the script runs once at startup, before Pipewire reports the sink, and not at all over the next 20 seconds. Before, it ran every 15 seconds per monitor.
audio-test.shgains behavior tests for the hardware shortcut, the script path and the rerun.🤖 Generated with Claude Code