Where is the sound buffer? How do I get bytes from the buffer? How do I play them manually?
"Hidden" in the module source, which for the actual grunt-work is C code. While I understand enough C to work out that there is a buffer, and to hack a bit of code, I don't understand enough of how audio stuff 'works' - especially when I hit the scary looking mixing code! I did manage to write a RestartSound function, which reset a non-looping sound such that you can play it again without loading or cueing it, i.e. aiming to avoid any potential setup delay. But I quickly realised that wasn't the true source of the latency problem (it's the fact it all happens in one thread, and has to buffer the sound).