Ryan C. Gordon
Ryan C. Gordon
To catch up on the conversation here: - I went with @flowCRANE's suggestion of using the term "Track," and I love it. However, I did not go with separate buffers...
> Mix_QuickLoad_RAW is going away, but we'll likely allow loading of raw data through a Property, and maybe also an option to avoid copying the data this way, too, but...
There's been a ton more work on this. We have a Wav, Ogg, MP3, and AIFF decoders hooked up, lots of metadata improvements, and, of course, a working mixer. I've...
Also: do we want duplicate decoders? Is it worth having both a libvorbis decoder _and_ an stb_vorbis decoder? Likewise for dr_mp3/mpg123, dr_flac/libFLAC, and Timidity/FluidSynth.
> I want to look (start looking) at it from the Factorio point of view this week. Commenting here in the hopes it will make me not put it off....
> Here are just some renaming suggestions Just pulled all of these suggestions in, thanks!
I agree with this, and it's pretty much set up to optimize for the scenarios you describe. If you care about it (or you're a distro), you ship the "better"...
This is resolved in the new SDL3_mixer API, thanks!
You can do this with the new SDL3_mixer API that just landed in main!
So the way we handled this in sdl12-compat, which had to deal with apps that used SDL_INIT_EVENTTHREAD, was to refuse to PumpEvents from background threads: https://github.com/libsdl-org/sdl12-compat/blob/35a63c6d1445c51f042dd3dd3f960be19c18b244/src/SDL12_compat.c#L7356-L7358 And then we sprinkled...