Format specifier for audio data.
Defined in <SDL3/SDL_audio.h>
typedef struct SDL_AudioSpec
{/**< Audio data format */
SDL_AudioFormat format; int channels; /**< Number of channels: 1 mono, 2 stereo, etc */
int freq; /**< sample rate: sample frames per second */
} SDL_AudioSpec;
This struct is available since SDL 3.1.3.