-
Notifications
You must be signed in to change notification settings - Fork 441
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
Static MP3 source playing incorrectly #2124
Comments
Handling MP3 is certainly difficult due to how they're detected technically. Not to mention that LOVE will try every possible decoders before proceeding. I did some debugging and here's what I found:
As a user, what you can do is:
|
Thanks for the thorough analysis! From my side the issue is resolved but I assume you may want to keep it open to prevent false positives for ModPlug just like the current approach is intended to prevent false positives for MP3. |
To be honest, there's not much we can do for ModPlug. |
Fair enough. Additionally, and I completely understand if you want to dismiss it, in a partial return to the previous approach, the MP3 decoder could be allowed an extended search range exclusively under the condition that the file extension is mp3. I understand if that is not feasible with the change to a stream-based approach. |
One of my users approached me about a mp3 sound breaking in a user mod that played correctly with love 11.5.
This is a loud neighing sound so careful when using headphones.
In love 12 instead of the neighing, after some delay some light knocks followed by static noise can be heard.
Playback happens like this:
The issue has been reproduced on Windows with SDL3 CI love as well as Linux with an older SDL2 CI love.
chain8.zip
A simple re-export in audacity fixes the problem for love 12 so it's not a big issue and I expect this to be a library issue like the LodePNG related crashes when moving from 11.3 to 11.4. If this indeed proves to not be fixable on love's end I think it would be good to document the potential breaking of audio files on the 12.0 wiki page.
The text was updated successfully, but these errors were encountered: