apologies for the less-than-perfect question, but I've exhausted every option and I have no idea what left to do.
When playing FLACs from a file on iOS, the first transition from song 1 to 2 has a ~100ms hitch, even when playing from a ConcatenatingAudioSource
. I cannot reproduce this by modifying the audio_service
playlist example, and skipping back and listening to the transition again works fine (is gapless).
Playing the same songs over HTTP is gapless.
I don't have a minimal example but here are a few links to my code:
It's fine if there's no clean answer here (I don't have a good example, which kind of gets in the way of that). I'd just like to know if there's anything I could possibly do here. I might try hacking in a thing to force-load the next item ~5 seconds before the next song, but that's a bad solution which clearly isn't required.
My issue has been fixed by switching to the feature/treadmill
branch of just_audio. It's not ready for production yet, but hopefully it gets released soon.