-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Freeboy crashes LMMS #6649
Comments
I've identified the cause of this and I'm working on a fix. |
@zonkmachine No, this bug is different from those |
so I understand that this crashes debug builds, but what's the effect in release builds? I'm trying to understand, but @messmerd's PR was too complicated to understand for me. |
@RiedleroD It affects the GB APU and the audio it produces in a lot of unintended ways. The APU requires But I do know that by fixing this bug, we will be making FreeBoy behave in the way it was intended to, and we'll likely fix some hard-to-notice audio glitches that would otherwise be nearly impossible to track down. |
@RiedleroD I found an example of an audio issue that this bug is causing. Here's the 1st part of Freeboy_issue.mmpz from #6144 rendered to wav at 96,000 Hz once with the master build and once with the fix in PR #6680: With this bug fixed, you can tell there's much less strange noise in the background when each new note plays. |
Attachment: freeboy-crash.zip
If a second note plays earlier than first note finishes, freeboy crashes LMMS.
lmms: -/lmms/plugins/FreeBoy/game-music-emu/gme/Gb_Apu.cpp:131: void Gb_Apu::run_until(blip_time_t): Assertion `end_time >= last_time' failed.
The text was updated successfully, but these errors were encountered: