#include <SDL_sound.h>
Data Fields | |
| void * | opaque |
| const Sound_DecoderInfo * | decoder |
| Sound_AudioInfo | desired |
| Sound_AudioInfo | actual |
| void * | buffer |
| Uint32 | buffer_size |
| Sound_SampleFlags | flags |
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.
|
|
Actual audio format of sample. |
|
|
Decoded sound data lands in here. |
|
|
Current size of (buffer), in bytes (Uint8). |
|
|
Decoder used for this sample. |
|
|
Desired audio format for conversion. |
|
|
Flags relating to this sample. |
|
|
Internal use only. Don't touch. |
1.2.16