androidx / androidx/media

96kHz stereo audio downsampled to 48kHz when played on Amazon Firestick using ExoPlayer

Open
#1,503 0 comments 0 reactions 1 assignee View on GitHub

@microkatz is already working on this.

Since Jun 28, 2024.

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

Description

Version

Media3 1.3.1

More version details

No response

Devices that reproduce the issue
  • Fire TV Stick 4K - 2nd Generation (2023) - 8GB (Build Model: AFTKM)
  • Fire TV Stick 4K Max - 2nd Generation (2023) - 16GB (Build Model: AFTKRT)
Devices that do not reproduce the issue

NVIDIA SHIELD

Reproducible in the demo app?

Yes

Reproduction steps
  1. Use the ExoPlayer demo app in this repository.
  2. Connect the Firestick to an AV receiver that can show the sampling rate (we use YAMAHA RX-A1080) via HDMI.
  3. Play the following audio files by adding them to media.exolist.json:
  • FLAC 96kHz/24bit stereo audio
  • FLAC 96kHz/24bit 5.1 channel audio
  1. Observe the sampling rate displayed on the AV receiver.
Expected result

Both 96kHz/24bit stereo and 96kHz/24bit 5.1 channel audio should be played at 96kHz.

Actual result
  • The 96kHz/24bit stereo audio is downsampled to 48kHz.
  • The 96kHz/24bit 5.1 channel audio is played correctly at 96kHz.
Media
Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

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.