Skip to content

fix(audio): upgrade Media3 FFmpeg for 16 KB pages and harden USB/bit-perfect playback - #753

Merged
ajisth69 merged 1 commit into
mainfrom
fix/audio-decoder-and-usb-bitperfect
Nov 25, 2026
Merged

ajisth69 merged 1 commit into
mainfrom
fix/audio-decoder-and-usb-bitperfect

Conversation

@ajisth69

Copy link
Copy Markdown
Member

Summary

  • 16 KB-aligned Media3 + FFmpeg: Upgrade Media3 to 1.9.0 and media3-ffmpeg-decoder to 1.9.0+1, add R8 keep rules for FFmpeg renderer classes, and drop the 4 KB page-size block in FfmpegCompat.
  • Atmos/FLAC renderer reliability: Centralize capability and renderer wiring in FfmpegCompat across main playback, silent swap-probe player, and FLAC transcoding; stop Spatializer alone or non-JOC legacy decoders from triggering false-positive Atmos requests and renderer failures.
  • USB & bit-perfect hardening:
    • Exact control transfer byte-count verification and lastRateWriteTrusted tracking in UsbAudioDevice, plus per-alt channel matching.
    • ExclusiveUsbOutput canOpen() pre-check, 200 ms PLL settle loop, reuse-path GET_CUR clock + device key recheck, 5s writer clock watchdog + forced resume check, write() pause-race & restartIfStopped() guards, and 1..8 ch exclusive USB support.
    • Optional UsbBitPerfectOutput integration and preferred-device routing on DirectTrackStream.

@ajisth69
ajisth69 merged commit 256ac1f into main Nov 25, 2026
1 check failed
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