This will be shared between the SDL2 and miniaudio backends, eliminating all that digusting duplicate code.