You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I went to investigate this a bit (since all of my audio is 44.1kHz) using sample tracks from https://msbtechnology.com/support/bit-perfect-testing/, and found that what we have currently works fine until we hit the really high-end (352.8kHz & 384kHz).
I think one potential solution is to downsample, but I don't have that much technical knowledge for ExoPlayer and general Android API to implement this, along with how the package we use is structured to handle audio playback (since we probably need to patch it).
I think how other apps like PowerAmp do this (according to this reddit post) is that they don't use Android's native APIs to accomplish this, but instead maybe use something like ffmpeg.
As it stands, it'll probably stay like this. If someone creates a PR that works, I'll happily merge it. I'll keep this issue open to let others be aware of the issue with really high sample rate audio.
What device did this occur on?
Phone (2)
What version of Android is your device running?
15
App Version
v2.0.0-rc.3
Summary
The player will not play flac files with a sample rate of 384k and a bit depth of 24 bit.
This is not exclusive to this Version as the same issue is present in the regular Google Play release.
Files with a lower sample rate (128k) work without issue.
The text was updated successfully, but these errors were encountered: