FLAC playback (almost) always plays wrong: it ends early, truncating the audio
Description
For years now VLC has had issues playing FLACs to the end of the file. This issue, which I filed some time ago, appears to be fixed on VLC for desktop (3.0.18-6, Arch Linux) now, but the Android client still has the issue.
#2763 (closed) mentions this issue, but it was not reproducible. I expect this was due to the steps to reproduce not showing off the issue well enough. I propose instead relying on the an excellent audio sample from vlc#25122 (closed) to show off the problem -- here: https://streams.videolan.org/samples/flac/threebeeps.flac
Expected behavior
All three beeps are audible
Actual behavior
Only two beeps are fully audible. The third beep may begin occasionally, but is truncated and played wrong.
Steps to reproduce
- Download https://streams.videolan.org/samples/flac/threebeeps.flac
- Play it on your Android VLC out the phone speaker (to avoid any confusion with bluetooth or wireless)
- Listen
Screenshot / video
https://www.youtube.com/watch?v=mdU4L-Rf7pY
Context
App version
3.5.4-Beta-2-armv8-20230207-0117
The nightly from here: https://artifacts.videolan.org/vlc-android/nightly-arm64/VLC-Android-3.5.4-Beta-2-armv8-20230207-0117.apk
Android version
13
Device model
Google Pixel 7 Pro
App mode
Smartphone