vanilla-music / vanilla

Vanilla Music Player for Android
GNU General Public License v3.0
1.13k stars 291 forks source link

Silent playback when playing multiple high bitrate MP3 files in succession #1180

Closed esplinr closed 9 months ago

esplinr commented 9 months ago

Description

When multiple highbitrate MP3 songs are in the playlist, sound is not generated after the first song.

I first saw the behavior on files encoded as MP3 320kbps (purchased). I found it did not reproduce with other formats or low bitrate MP3s that I ripped.

Steps to reproduce the issue

  1. Load multiple high bitrate MP3 files into the library.
  2. Add the MP3 songs into an empty queue.
  3. Play the queue.

Expected behavior

Each song will play normally.

Observed behavior

The first song encoded as MP3 plays normally. If it is immediately followed by another MP3 song, it advances to that song and the time cursor progresses normally as if the song was playing, but no audio is produced. The volume is all the way up.

On the silent song, when the cursor reaches all the way to the right (signifying the end of the song), the time keeps counting up beyond the length of the song (the number left of the cursor exceeds the number right of the cursor). The player never advances to the next song in the queue.

Notes

Gratitude

Vanilla music is a great player and I appreciate your work to make it available. Thank you!

Let me know if I can provide additional information that might be helpful.

esplinr commented 9 months ago

While writing up the bug, I thought of additional search terms to look for duplicate issues. I came across #1111 and #1138 .

Disabling gapless audio appears to have solved the problem. Hopefully this writeup proves useful anyway.