SDL_IsAudioDevicePlayback

Determine if an audio device is a playback device (instead of recording).

This function may return either true or false for invalid device IDs.

extern (C) nothrow @nogc extern
bool
SDL_IsAudioDevicePlayback

Parameters

devid SDL_AudioDeviceID

the device ID to query.

Return Value

Type: bool

true if devid is a playback device, false if it is recording.

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

Meta