SDL_IsAudioDevicePlayback - Man Page
Determine if an audio device is a playback device (instead of recording).
Header File
Defined in SDL3/SDL_audio.h
Synopsis
#include "SDL3/SDL.h" bool SDL_IsAudioDevicePlayback(SDL_AudioDeviceID devid);
Description
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.
Availability
This function is available since SDL 3.2.0.
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS