SDL_GetCurrentAudioDriver

Get the name of the current audio driver.

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.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetCurrentAudioDriver
()

Return Value

Type: const(char)*

the name of the current audio driver or NULL if no driver has been initialized.

Threadsafety: It is safe to call this function from any thread.

Meta