New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Desktop] Music getPosition() not accurate on desktop for MP3s #5692
Comments
After looking into solutions for the similar issue #5693, I was inspired to try a different audio format. As with #5693, using WAV/OGG does, in fact, fix the issue. Unlike #5693, however, this issue isn't triggered by doing a seek first; the music position loses accuracy simply while playing the MP3, which still seems like a bug. Updating title accordingly. |
Can you prefix the title with [Desktop]? Thanks |
Nice PR! I don't own the license to the MP3 originally linked to above, so I just replaced it with a new one generated with Audacity (link). Feel free to include this in the tests. |
@thebnich thank you, i replaced it. It's even better, it has different sounds on note / quarter note :-) |
Music.getPosition()
lags behind the actual sound position on desktop. Using the code below, the sound is noticeably out of sync after just a few seconds. Everything works as expected on Android and iOS.Using the latest GDX release (1.9.9).
The text was updated successfully, but these errors were encountered: