Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SDL_AudioSpec Struct Reference
The calculated values in this structure are calculated by SDL_OpenAudio(). More...
#include <SDL_audio.h>
Data Fields | |
| int | freq |
| DSP frequency -- samples per second. | |
| SDL_AudioFormat | format |
| Audio data format. | |
| Uint8 | channels |
| Number of channels: 1 mono, 2 stereo. | |
| Uint8 | silence |
| Audio buffer silence value (calculated) | |
| Uint16 | samples |
| Audio buffer size in samples (power of 2) | |
| Uint16 | padding |
| Necessary for some compile environments. | |
| Uint32 | size |
| Audio buffer size in bytes (calculated) | |
Detailed Description
The calculated values in this structure are calculated by SDL_OpenAudio().
Definition at line 165 of file SDL_audio.h.
Field Documentation
Number of channels: 1 mono, 2 stereo.
Definition at line 169 of file SDL_audio.h.
Audio data format.
Definition at line 168 of file SDL_audio.h.
| int freq |
DSP frequency -- samples per second.
Definition at line 167 of file SDL_audio.h.
Necessary for some compile environments.
Definition at line 172 of file SDL_audio.h.
Audio buffer size in samples (power of 2)
Definition at line 171 of file SDL_audio.h.
Audio buffer silence value (calculated)
Definition at line 170 of file SDL_audio.h.
Audio buffer size in bytes (calculated)
Definition at line 173 of file SDL_audio.h.
Generated on Tue Jul 12 2022 13:56:26 by
1.7.2