Sound_Sample Struct Reference

Represents sound data in the process of being decoded. More...

#include <SDL_sound.h>


Data Fields

void * opaque
const Sound_DecoderInfodecoder
Sound_AudioInfo desired
Sound_AudioInfo actual
void * buffer
Uint32 buffer_size
Sound_SampleFlags flags


Detailed Description

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.


Field Documentation

Internal use only. Don't touch.

Decoder used for this sample.

Desired audio format for conversion.

Actual audio format of sample.

Decoded sound data lands in here.

Current size of (buffer), in bytes (Uint8).

Flags relating to this sample.


The documentation for this struct was generated from the following file:

Generated on Sun Feb 17 12:52:55 2008 for SDL_sound by  doxygen 1.5.5