Skip to content
Snippets Groups Projects

Draft: avsb: add AAC (Advanced Audio Codec) passthrough support for macOS

Open Advait Dhamorikar requested to merge avsb into master

This merge request aims to add AAC (Advanced Audio Codec) passthrough support for macOS. The implementation ensures that AAC-encoded audio is directly passed through to external audio receivers, preserving the original quality and avoiding unnecessary decoding on the system.
Key Features:

AAC Passthrough:
    Enables direct passthrough of AAC audio streams to external receivers (e.g., AV receivers, soundbars) on macOS.
    Bypasses system-level decoding to maintain audio quality and reduce CPU overhead.
    Supports high-quality multi-channel AAC streams for compatible devices.

Changes:

Modified Core Audio modules to allow AAC passthrough when connected to compatible receivers.
Integrated with macOS's AVSampleBuffer framework for handling compressed audio streams efficiently.
Updated the audio output pipeline to detect and enable passthrough when AAC streams are identified.

Testing and Known Issues:

Tested on macOS and iOS with external receivers supporting AAC passthrough.
We are in discussion with the Apple development team to debug the audio output issues.

Merge request reports

Merge request pipeline #508642 failed

Merge request pipeline failed for f21f2065

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading