Add option to disable Audio Ducking on AnkiDroid

Description:
Currently, AnkiDroid forcefully takes audio focus when playing media, causing any background audio—such as music or podcasts—to be paused, ducked, or muffled. This behavior negatively impacts users who wish to review cards while simultaneously listening to other audio sources. While Android 15 imposes new limitations, the default audio ducking behavior remains intrusive on all versions and devices lacking granular audio control.

This feature request proposes a user-toggleable setting in AnkiDroid to disable audio focus requests entirely, allowing playback of Anki card audio without interrupting or altering other audio streams.

Rationale:

  • Many users multitask while studying (e.g., listening to music, podcasts, calls).
  • Not all Android devices offer per-app audio controls (Samsung’s Sound Assistant is not universal).
  • The only current workaround often involves rooting, which is not viable for most users.
  • This behavior is especially problematic for those with accessibility needs or unique workflows.

Proposed Implementation:

  • Add a toggle in Settings > Reviewing (or Settings > Audio) for “Disable Audio Focus (Advanced)” (or simmilar).
  • When enabled, AnkiDroid skips requesting audio focus, allowing overlapping playback.
  • Show a warning if necessary (e.g., “May cause overlapping sound”).
2 Likes