Information about an existing sample's format. More...
#include <SDL_sound.h>
Public Attributes | |
Uint16 | format |
Uint8 | channels |
Uint32 | rate |
Information about an existing sample's format.
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.
Definition at line 113 of file SDL_sound.h.
Number of sound channels. 1 == mono, 2 == stereo.
Definition at line 116 of file SDL_sound.h.
Uint16 Sound_AudioInfo::format |
Equivalent of SDL_AudioSpec.format.
Definition at line 115 of file SDL_sound.h.
Uint32 Sound_AudioInfo::rate |
Sample rate; frequency of sample points per second.
Definition at line 117 of file SDL_sound.h.