Skip to content

Dynamic Processing effect silently mutes Opus audio (AudioTrack reports frames delivered, no error) #230

Description

@resurrectdev1

Current Behavior:

With the "Dynamic Processing" audio effect enabled (Settings → Sound), all Opus-encoded audio is completely silent with no sound from the YouTube app, YouTube in browser, ReVanced, or local .opus files played in any media player. Playback otherwise behaves normally (correct duration, no error UI, no buffering). AAC/MP3 audio is unaffected. Disabling Dynamic Processing immediately restores Opus audio with no reboot required.

Describe the bug

Logcat (adb logcat | grep -iE "opus|audiotrack|mediacodec|audioflinger") shows AudioTrack reporting frames delivered successfully with no errors or crashes:

AudioFlinger: moveEffectChain_ll: effect chain for session 0 not on source thread 0xb4000078140f2fe8

AudioFlinger: mixer(0x...) throttle end: throttle time(42)

AudioTrack: stop(99): called with 422300 frames delivered

AudioTrack: stop(99): called with 120838 frames delivered

AudioTrack: stop(99): called with 336200 frames delivered

AudioTrack: stop(99): called with 96262 frames delivered

AudioFlinger: moveEffectChain_ll: effect chain for session 0 not on source thread 0xb400007813f58fe8

This suggests the Opus decode path itself is fine but audio is decoded and pushed through and it's being dropped/muted at the global (session 0) effect chain stage where Dynamic Processing attaches, rather than failing to decode. The repeated moveEffectChain_ll: effect chain for session 0 not on source thread warning lines up with every instance of silent playback.

To Reproduce

  1. Go to Settings → Sound
  2. Enable "Dynamic Processing"
  3. Play any Opus-encoded audio (YouTube, ReVanced, or a local .opus file)
  4. Audio is silent; no error shown, playback duration/progress is normal

Expected behavior

Opus audio should play normally with Dynamic Processing enabled, same as AAC/MP3 does.

Photos

N/A see logcat above

Smartphone

  • Device: Lenovo Tab P11 Plus (TB-J616F)
  • Build Flavor: TB-J616X_LOS23.2_bgN4_S26146_260526 (GApps) + TB_J616F_S240253_241016_ebpf_patched boot image
  • Version: LineageOS 23.2 (Android 16)

Additional context

Confirmed not caused by YouTube/ReVanced specifically since a standalone local .opus test file reproduces the same silent behavior. Workaround: disable Dynamic Processing in Settings → Sound.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions