SDL_GetCurrentAudioDriver3
Get the name of the current audio driver.
Usage
#include "SDL3/SDL.h"
const char * SDL_GetCurrentAudioDriver(void);
Header file
Defined in SDL3/SDL_audio.h
Overview
The names of drivers are all simple, low-ASCII identifiers, like "alsa", "coreaudio" or "wasapi". These never have Unicode characters, and are not meant to be proper names.
Return value
Returns the name of the current audio driver or NULL if no driver has been initialized.
Thread safety
It is safe to call this function from any thread.