logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This function is available since SDL 3.2.0.

Function Parameters

devid  the instance ID of the device to query.

Name

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

Return Value

       for more information.

See Also

SDL_GetAudioPlaybackDevices(3), SDL_GetAudioRecordingDevices(3)

Simple Directmedia Layer                           SDL 3.2.20                          SDL_GetAudioDeviceName(3)

Synopsis

#include<SDL3/SDL_audio.h>constchar*SDL_GetAudioDeviceName(SDL_AudioDeviceIDdevid);

Thread Safety

       It is safe to call this function from any thread.

See Also