androidx / androidx/media

PCM offload support

Open
#2,451 3 comments 0 reactions 1 assignee View on GitHub

@microkatz is already working on this.

Since May 22, 2025.

enhancement needs triage
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

[REQUIRED] Use case description

ExoPlayer already supports compressed offload. But many devices like Google Pixels only support a few formats like MP3 or AAC, but not FLAC or even rarer formats like ALAC. But it would be nice to play less common audio formats as offload playback to save battery.

Proposed solution

Android 16's PCM offload: https://android-developers.googleblog.com/2025/05/building-delightful-android-camera-media-experiences.html
The idea is to decode very large chucks of compressed audio as usual, and then feed all of them as PCM to DSP for playback.

Alternatives considered

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.