Skip to content

Device: Remember adaptive audio noise level after reconnecting - #765

Merged
d4rken-concierge[bot] merged 2 commits into
mainfrom
cnc/task_01M6RS35HX6G2KMNPV1TKBMH1Y
Nov 17, 2026
Merged

d4rken-concierge[bot] merged 2 commits into
mainfrom
cnc/task_01M6RS35HX6G2KMNPV1TKBMH1Y

Conversation

@d4rken-concierge

Copy link
Copy Markdown

What changed

The Adaptive Audio "ambient noise" slider value is now remembered when your AirPods disconnect and reconnect. Previously the app would show the default level again after a reconnect until you adjusted the slider manually.

Technical Context

  • Root cause: the Adaptive Audio noise level is a push-only AAP setting — the AirPods only send it on connect or on external change, and the app's in-memory AAP state is wiped on every disconnect. There's no way to proactively re-read it.
  • CAPod already has a persistence mechanism for exactly this class of problem (used for the "allow OFF in ANC cycle" and "listening mode cycle" settings): learn the value while connected, persist it on the device profile, and fall back to the persisted value when live AAP state has none yet. This setting was simply never wired into that existing mechanism.
  • Fix mirrors that pattern exactly: persist the learned level in AppleDeviceProfile, update the persister to track it, and add the same profile fallback to PodDevice.adaptiveAudioNoise.
  • No UI changes needed — the settings screen and view model already consume PodDevice.adaptiveAudioNoise unconditionally and will pick up the restored value automatically.
  • New profile field defaults to null, so no migration is needed for existing stored profiles.

Relates to CAPOD-6

AdaptiveAudioNoise (AAP 0x2E) is push-only and dropped from AapPodState
on every disconnect, but unlike AllowOffOption/ListeningModeCycle it was
never wired into the existing profile-learned-settings persistence
pattern, so the UI reset to whatever the device happened to push after
a reconnect instead of the user's last chosen level.
@d4rken-concierge
d4rken-concierge Bot merged commit 09cf922 into main Nov 17, 2026
13 checks passed
@d4rken-concierge
d4rken-concierge Bot deleted the cnc/task_01M6RS35HX6G2KMNPV1TKBMH1Y branch November 17, 2026 19:21
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