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_AudioSpec - Format specifier for audio data.

Availability

       This struct is available since SDL 3.2.0.

Header File

       Defined in SDL3/SDL_audio.h

Name

       SDL_AudioSpec - Format specifier for audio data.

See Also

(3), SDL_AudioFormat(3type)

Simple Directmedia Layer                           SDL 3.2.10                               SDL_AudioSpec(3type)

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_AudioSpec{SDL_AudioFormatformat;/**<Audiodataformat*/intchannels;/**<Numberofchannels:1mono,2stereo,etc*/intfreq;/**<samplerate:sampleframespersecond*/}SDL_AudioSpec;

See Also