Represents sound data in the process of being decoded. More...
#include <SDL_sound.h>
Public Attributes | |
void * | opaque |
const Sound_DecoderInfo * | decoder |
Sound_AudioInfo | desired |
Sound_AudioInfo | actual |
Uint32 | flags |
Represents sound data in the process of being decoded.
The Sound_Sample structure is the heart of SDL_sound. This holds information about a source of sound data as it is being decoded. EVERY FIELD IN THIS IS READ-ONLY. Please use the API functions to change them.
Definition at line 159 of file SDL_sound.h.
Actual audio format of sample.
Definition at line 164 of file SDL_sound.h.
Decoder used for this sample.
Definition at line 162 of file SDL_sound.h.
Desired audio format for conversion.
Definition at line 163 of file SDL_sound.h.
Uint32 Sound_Sample::flags |
Flags relating to this sample.
Definition at line 165 of file SDL_sound.h.
void* Sound_Sample::opaque |
Internal use only. Don't touch.
Definition at line 161 of file SDL_sound.h.