Closed ankith26 closed 4 months ago
Should get SDL_GetAudioDriver and SDL_GetNumAudioDrivers be ported too, into a method to get a list of available drivers? That way a user setting SDL_AUDIODRIVER could see what the options are.
It seems like this would help test #2733
Should get
SDL_GetAudioDriver
andSDL_GetNumAudioDrivers
be ported too, into a method to get a list of available drivers? That way a user settingSDL_AUDIODRIVER
could see what the options are.
Sounds like a good idea. We could also give display the same treatment. Maybe we could export this as a list, instead of having to export two separate functions.
That's what I had in mind.
While working on #2733 I realised that we don't actually have the
mixer
analogue todisplay.get_driver()
. This PR addsmixer.get_driver
to find out the current audio driver being used.