I know that I have 2 audio devices known to SDL due to the count from SDL_GetNumAudioDrivers is 2.
Even SDL_GetAudioDeviceName give two different device names which matches what my Windows gives me.
But when I run the code above keep on getting the error "Invalid audio device ID"
If I try a similar method above but with SDL_InitAudio I also get an error "Audio target 'Device Name' not available" and then it crashes
Is there something I am missing? or have done wrong?