Hardware Decode ignores vendor Dolby E-AC-3/E-AC-3 JOC codec

App version

Production

Issue description

I found what seems to be a codec classification issue with Hardware Decode on my device.

Device:

  • Redmi Note 14 4G (24117RN76L, tanzanite)
  • Android 16
  • Symfonium 15.0.1

The device exposes the system Dolby decoders:

  • c2.dolby.eac3.decoder.eac3
  • c2.dolby.eac3.decoder.eac3-joc

For both codecs Media3 reports:

hardware=false
softwareOnly=false
vendor=true

The codecs work correctly in the phone’s native player, including E-AC-3 JOC.

However, when “Prefer/Hardware Decode” is enabled, Symfonium creates:

MediaCodec(filter=HardwareOnly), Ffmpeg, MediaCodec(filter=NonHardwareOnly)

The Dolby JOC codec is then rejected by HardwareOnly:

c2.dolby.eac3.decoder.eac3-joc
hardware=false/softwareOnly=false/vendor=true
→ filtered=

It is subsequently accepted by NonHardwareOnly and playback falls back to:

ffmpegLavc62.28.102-eac3

The same happens with regular E-AC-3.

So the issue does not appear to be missing E-AC-3/JOC support. The Dolby vendor codec is exposed by Android and works on the device, but it is reported as neither hardware-accelerated nor software-only. The HardwareOnly selector therefore excludes it.

Could the hardware codec selection logic be adjusted for vendor codecs such as c2.dolby.eac3.decoder.eac3 and c2.dolby.eac3.decoder.eac3-joc, or otherwise allow this codec to be selected when Hardware Decode is preferred?

Device type

Phone

Media provider

Local device

Steps to reproduce

  1. Open Symfonium on the Redmi Note 14 4G (24117RN76L).
  2. Enable Hardware Decode in the audio playback settings.
  3. Play an E-AC-3 file (“audio/eac3”) or an E-AC-3 JOC file (“audio/eac3-joc”).
  4. Check the playback/debug log.
  5. Symfonium detects the system Dolby codec (“c2.dolby.eac3.decoder.eac3” / “c2.dolby.eac3.decoder.eac3-joc”), but reports it as “hardware=false”.
  6. Because Hardware Decode uses the “HardwareOnly” filter, the Dolby codec is filtered out.
  7. Playback then falls back to “ffmpegLavc62.28.102-eac3” instead of using the system Dolby decoder.
  8. Disabling Hardware Decode allows the Dolby codec to be considered, but playback still ultimately falls back to FFmpeg.

For comparison, the same E-AC-3/JOC files play correctly using the phone’s native player, confirming that the system Dolby decoder itself is functional.

Additional information

Device: Redmi Note 14 4G (24117RN76L / tanzanite), Android 16.

The phone exposes the system Dolby codecs:

  • “c2.dolby.eac3.decoder.eac3”
  • “c2.dolby.eac3.decoder.eac3-joc”

Both are reported by Media3 as:
“hardware=false”, “softwareOnly=false”, “vendor=true”.

The codecs work correctly with E-AC-3/JOC in the phone’s native player.

In Symfonium, enabling Hardware Decode causes “HardwareOnly” to filter out “c2.dolby.eac3.decoder.eac3-joc” because it is reported as “hardware=false”. It then falls back to FFmpeg (“ffmpegLavc62.28.102-eac3”).

The same behavior occurs with regular E-AC-3.

This appears to be a codec classification/selection issue rather than a lack of E-AC-3/JOC support on the device. The full debug log is attached.

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

Dolby Decoder issues

Thank you for the detailed report. I confirmed the selection sequence you describe. “Prefer hardware-accelerated codecs” prioritizes decoders that Android reports as hardware accelerated. vendor=true and softwareOnly=false do not establish hardware acceleration. FFmpeg comes before the remaining system decoders, so its selection does not show that the Dolby decoder failed. Preferring that decoder would require a separate decoder preference change.

Your upload description says 15.1.0, but the log itself records 15.0.1. Please update to 15.1.0 and retry. Read the appropriate announcement in the changelog for the official APK instructions if Google Play has not approved that release yet.

If this persists, please share fresh debug logs: enable debug mode, reproduce from the beginning with both E-AC-3 and E-AC-3 JOC, with the preference off and on, then disable debug mode and upload promptly. Reply with the app version, upload description and reproduction time. Please also tell me whether you hear an audio difference or encounter a playback problem compared with the native player, or whether the concern is the decoder name.

Thanks for the reply; I’ve already acted on your suggestions.

Update: I have now reproduced the issue with the requested newer build and uploaded a fresh debug log.

1.5.1.0

With Hardware Decode enabled, c2.dolby.eac3.decoder.eac3-joc is listed as a candidate under MediaCodec(filter=HardwareOnly) with:
hardware=false / softwareOnly=false / vendor=true
It is not blocked or filtered by the HardwareOnly selector (blocked=, filtered=).
However, the actual decoder initialized for the audio/eac3-joc track is still:
ffmpegLavc62.28.102-eac3
So the new log confirms that the Dolby codec is available as a HardwareOnly candidate, but it is not ultimately selected over FFmpeg.

Updated Log:Dolby Decoder 2.0

Hi @Tolriq

Sorry to bring this topic up again. I just wanted to follow up since it’s been almost a month without an update.

I’ve also noticed some newer reports describing surround and Dolby Atmos playback issues on Android TV after version 15.1. I wonder if these could be related to the audio pipeline changes we’ve been discussing.

I understand you’re busy, but I’d really appreciate knowing whether this issue is still being investigated or if there’s anything else I could test on mi device.

Thanks for your time!

Install v16 and enable the option to prefer OS decoders.

Tolriq, I love you! You’re a genius! The decoder works perfectly now. Thank you so much for taking the time and effort to investigate and fix this issue. Other music players might have simply overlooked it, but you genuinely went the extra mile. Symfonium is, without a doubt, the best music player out there. :heart: