timusus / Shuttle

Shuttle Music Player
Other
2.2k stars 478 forks source link

Looping for a very long time stops working #542

Open endolith opened 2 years ago

endolith commented 2 years ago

Shuttle version:

v2.0.17

Device, OS:

Description of bug:

If I play a looping test file continuously, after 16-19 hours the audio stops and the app no longer works correctly.

Steps to reproduce:

  1. Start Shuttle
  2. Set to loop single track
  3. Play for a very long time

The track is 15 seconds long, 48 kHz, 24-bit PCM WAV file, I can send it if necessary.

Expected outcome:

It should just play continuously forever.

Observations/Actual Result:

After the app locks up, pressing pause/play has no effect, the progress dot stays at the beginning of the track and nothing plays.

Another time, the gapless looping stopped being gapless, there was a pause after each loop.

Another time, it started playing a different track? Despite being set to loop 1 track and doing so correctly for many hours. Not sure how that happened.

After phone reboot, it works normally again.

endolith commented 2 years ago

I will also see behavior where I play a new track on "1 repeat" mode, it plays that track a few times and then randomly decides to move to another.