Sound_Sample

Langue: en

Autres versions - même langue

Version: 377623 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Sound_Sample -

Represents sound data in the process of being decoded.

SYNOPSIS


#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

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

Sound_AudioInfo Sound_Sample::actualActual audio format of sample.

void* Sound_Sample::bufferDecoded sound data lands in here.

Uint32 Sound_Sample::buffer_sizeCurrent size of (buffer), in bytes (Uint8).

const Sound_DecoderInfo* Sound_Sample::decoderDecoder used for this sample.

Sound_AudioInfo Sound_Sample::desiredDesired audio format for conversion.

Sound_SampleFlags Sound_Sample::flagsFlags relating to this sample.

void* Sound_Sample::opaqueInternal use only. Don't touch.

Author

Generated automatically by Doxygen for SDL_sound from the source code.