Nice work on this. I had some curiosity questions. For Linux do you use directly Alsa API or an higher API like openal (which would make it more portable) ? Thanks.
QB on Linux is a bit borked with the Midi not functioning - hence it is not up to date with the MacOS and Win version.
Internally it uses OpenAL and SDL2 with a custom sound-core sitting on top. The code base itself is virtually the same across all platforms ;)