You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: leave StableBar's own mixer devices out of the Sound widget's device lists - #886
After you change an app's volume in the Sound widget's mixer, the widget's output list shows a "StableBar mixer" entry for each app you changed. Those are the private aggregate devices that play each app at its own volume (#877). macOS hides a private device from other apps, but not from StableBar, which created it.
AudioMonitor's device lists leave out devices whose UID starts with AppAudioTap.uidPrefix, as the mixer's own output menu already does. This covers the output and input lists.
The UID read moves from AudioMixer to AudioMonitor, next to flag(of:at:) and objects(of:at:), so both use the same helper.
Testing
swift build --build-tests, then the audio, mixer and Sound tests: 21 passed.
scripts/check.sh --quick passes.
Not checked: the list on a running bar with an app's volume changed. I found the cause from the report's screenshot and from macOS documenting private aggregate devices as visible to the process that creates them.
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
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.
Problem
After you change an app's volume in the Sound widget's mixer, the widget's output list shows a "StableBar mixer" entry for each app you changed. Those are the private aggregate devices that play each app at its own volume (#877). macOS hides a private device from other apps, but not from StableBar, which created it.
Fixes #885
Changes
AudioMonitor's device lists leave out devices whose UID starts withAppAudioTap.uidPrefix, as the mixer's own output menu already does. This covers the output and input lists.AudioMixertoAudioMonitor, next toflag(of:at:)andobjects(of:at:), so both use the same helper.Testing
swift build --build-tests, then the audio, mixer and Sound tests: 21 passed.scripts/check.sh --quickpasses.Merging
Merge commit, through the merge queue.
Claude Opus 5.5 via Claude Code