a few misc changes were made to the core and other frontends
core:
audio callback now requires a buffer to be set for the samples to be written to.
this is much more optimal than spamming the audio callback and pushing 2 samples at a
time to the sdl_audio_stream.
frontend:
added the layer viewer back to imgui frontend, there's some UB involved though, see the comments!
added a sdl2 base which sdl2 frontends will inherit from. not really sure if this was a good idea or not
sdl2 frontend implements my hacky audio catch-up thing (idk what to name it) where it will tick the core
if not enough samples are generated.
zlib/minizip is now linked publically in the frontend_base. i don't like having to do this, but its due
to a bug in emsdk with std::filesystem::directory_iterator() with -pthread linked. the wasm32-ld will have
a meltdown ad fail to link. only work around is to enable lto and to use directory_iterator in the exe
file.
i haven't yet reported the bug.
a few misc changes were made to the core and other frontends
core:
frontend: