feat(reaction): Add Conversational Awareness media reaction

Reacts to the AirPods speaking-detection event (AAP 0x4B): lowers media volume by a configurable amount or pauses playback when you start talking, and reverts when you stop. Per-profile, Pro-gated, opt-in (default off).

Decodes the speaking status from the last payload byte ({1,2}=start, {6,8,9}=stop, else keep-alive); engage/disengage with a frame-idle stale timeout to recover a dropped stop, plus disconnect and service-stop cleanup.
This commit is contained in:
darken
2026-05-25 23:55:55 +02:00
committed by Matthias Urhahn
parent 78790f73df
commit dbbfa75429
20 changed files with 1010 additions and 12 deletions
+5
View File
@@ -278,6 +278,11 @@
<string name="anc_mode_transparency">Transparency</string>
<string name="anc_mode_adaptive">Adaptive</string>
<string name="conversation_awareness_label">Conversation Awareness</string>
<string name="settings_conversation_action_label">When you start speaking</string>
<string name="settings_conversation_action_nothing_label">Do nothing</string>
<string name="settings_conversation_action_lower_volume_label">Lower volume</string>
<string name="settings_conversation_action_pause_label">Pause media</string>
<string name="settings_conversation_volume_reduction_label">Volume reduction</string>
<string name="signal_badge_ble_cd">BLE scan active</string>
<string name="signal_badge_key_irk_cd">Identity verified</string>
<string name="signal_badge_key_encrypted_cd">Encrypted connection</string>