#include <SDL_sound.h>
Public Attributes | |
| void * | opaque |
| Internal use only. | |
| const Sound_DecoderInfo * | decoder |
| Decoder used for this sample. | |
| Sound_AudioInfo | desired |
| Desired audio format for conversion. | |
| Sound_AudioInfo | actual |
| Actual audio format of sample. | |
| void * | buffer |
| Decoded sound data lands in here. | |
| Uint32 | buffer_size |
| Current size of (buffer), in bytes (Uint8). | |
| Sound_SampleFlags | flags |
| Flags relating to this sample. | |
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 179 of file SDL_sound.h.
|
|
Actual audio format of sample.
Definition at line 184 of file SDL_sound.h. |
|
|
Decoded sound data lands in here.
Definition at line 185 of file SDL_sound.h. Referenced by loadWave(). |
|
|
Current size of (buffer), in bytes (Uint8).
Definition at line 186 of file SDL_sound.h. Referenced by loadWave(). |
|
|
Decoder used for this sample.
Definition at line 182 of file SDL_sound.h. |
|
|
Desired audio format for conversion.
Definition at line 183 of file SDL_sound.h. |
|
|
Flags relating to this sample.
Definition at line 187 of file SDL_sound.h. |
|
|
Internal use only. Don't touch. Definition at line 181 of file SDL_sound.h. |
1.4.2