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_GetAudioFormatName - Get the human readable name of an audio format.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                          SDL_GetAudioFormatName(3)

Function Parameters

format the audio format to query.

Header File

       Defined in SDL3/SDL_audio.h

Name

       SDL_GetAudioFormatName - Get the human readable name of an audio format.

Return Value

       Returns  the  human  readable  name  of the specified audio format or " SDL_AUDIO_UNKNOWN " if the format
       isn't recognized.

Synopsis

#include"SDL3/SDL.h"constchar*SDL_GetAudioFormatName(SDL_AudioFormatformat);

Thread Safety

       It is safe to call this function from any thread.

See Also