SDL_GetAudioFormatName

Get the human readable name of an audio format.

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

Parameters

format SDL_AudioFormat

the audio format to query.

Return Value

Type: const(char)*

the human readable name of the specified audio format or "SDL_AUDIO_UNKNOWN" if the format isn't recognized.

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

Meta