SDL_AudioSpec3type
Format specifier for audio data.
Usage
#include "SDL3/SDL.h"
typedef struct SDL_AudioSpec { SDL_AudioFormat format; /**< Audio data format */ int channels; /**< Number of channels: 1 mono, 2 stereo, etc */ int freq; /**< sample rate: sample frames per second */ } SDL_AudioSpec;
Header file
Defined in SDL3/SDL_audio.h