#include <SDL_sound.h>
Data Fields | |
| Uint16 | format |
| Uint8 | channels |
| Uint32 | rate |
These are the basics of a decoded sample's data structure: data format (see AUDIO_U8 and friends in SDL_audio.h), number of channels, and sample rate. If you need more explanation than that, you should stop developing sound code right now.
|
|
Number of sound channels. 1 == mono, 2 == stereo. |
|
|
Equivalent of SDL_AudioSpec.format. |
|
|
Sample rate; frequency of sample points per second. |
1.2.16