I think it’s well established that if you want the lowest latency sound, it’s better not to use SDL_mixer but rather the core audio functions: SDL_OpenAudioDevice()
, SDL_QueueAudio()
etc. You should also avoid outputting an audio format not supported by the hardware, thus forcing a conversion that can add to the latency.