SDL_GetAudioDeviceName

Get the human-readable name of a specific audio device.

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

Parameters

devid SDL_AudioDeviceID

the instance ID of the device to query.

Return Value

Type: const(char)*

the name of the audio device, or NULL on failure; call SDL_GetError() for more information.

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

See Also

Meta