SDL_IsAudioDevicePlayback3
Determine if an audio device is a playback device (instead of recording).
Usage
#include "SDL3/SDL.h"
bool SDL_IsAudioDevicePlayback(SDL_AudioDeviceID devid);
Header file
Defined in SDL3/SDL_audio.h
Overview
This function may return either true or false for invalid device IDs.
Function parameters
- devid
-
the device ID to query.
Return value
Returns true if devid is a playback device, false if it is recording.
Thread safety
It is safe to call this function from any thread.