nyanpasu64
nyanpasu64
I *think* one disadvantage of this change is that when I open a menu and move the mouse quickly up and down over other menu items, it won't reliably open...
> Does it mean checking the start/stop message at the timing of executing the callback in the audio thread (for example, the beginning of `PlaybackManager::streamCountUp()`) and executing the message? More...
I have a fix which appears to work on my machine (sorry for the wildly inconsistent formatting): ```c // ensure the last event is a mouse click so it gets...
https://github.com/libsdl-org/SDL/issues/4376#issuecomment-841654449 suggests only calling `SDL_PumpEvents` once per frame. The docs didn't make clear that that was valid, but **I'd have to again revise my code patch to not pump events...
Update: With the same mouse, klystrack 1.7.6 on Windows (with proper GPU drivers installed) does not lag when moving the mouse. So this change to the SDL event processing loop...
~~deadlock~~ same fuckery, single-stepping through the audio thread can free the gui thread when nothing else can  :(
> all of this could possibly be quickly fixed by just copying & pasting a few lines of code from 0CC-FamiTracker 0.3.15.3 0CC ported the entire program from codepage-based strings...
Note that reducing sound buffer length makes the fine spectrum analyzer less accurate. I don't actually know the minimum safe length though, but 40 ms should be fine. I don't...
I tested this branch a bit. Fortunately, so far ASAN didn't find any *new* memory errors, aside from this branch saving corrupted files which cause master to crash when loading,...
[dpcm bass.zip](https://github.com/Gumball2415/Dn-FamiTracker/files/5212528/dpcm.bass.zip) has an empty sample, as exported from Dn-FT (I think). [dpcm bass (no crash).zip](https://github.com/Gumball2415/Dn-FamiTracker/files/5212529/dpcm.bass.no.crash.zip) omits sample 4, causing N/A (which matches the song it was taken from) when...