Skip to content

fix: keep failed audio taps silent until recovery - #52

Merged
pantafive merged 2 commits into
mainfrom
fix/silent-tap-recovery
Nov 6, 2026
Merged

pantafive merged 2 commits into
mainfrom
fix/silent-tap-recovery

Conversation

@pantafive

Copy link
Copy Markdown
Owner

Failed audio recovery no longer restores unattenuated playback after ten seconds. Fader retains the muted tap and retries until a replacement starts; the replacement fades in to the saved volume. A working old tap continues playing if its replacement fails.

Unsupported or unreadable stream formats stay silent instead of bypassing gain. Partial activation failures retain an available tap, and permission errors no longer discard existing attenuation.

Closes #49.

Validation: the prolonged-failure regression failed before the fix; make test passes all 63 tests, including recovery gain bounds. pre-commit run --all-files passes with the CI-pinned SwiftFormat 0.64.0. Physical Bluetooth reconnection and Core Audio failure recovery remain unverified.

@pantafive
pantafive merged commit b5dadb9 into main Nov 6, 2026
1 check passed
@pantafive
pantafive deleted the fix/silent-tap-recovery branch November 6, 2026 12:15
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.

[Bug] Sudden volume spikes to extremely loud levels on Bluetooth headphones — possible Core Audio Tap lifecycle issue

1 participant