SDL_AudioCVT Struct Reference

#include <SDL_audio.h>


Public Member Functions

 void (SDLCALL *filters[10])(struct SDL_AudioCVT *cvt

Data Fields

int needed
Uint16 src_format
Uint16 dst_format
double rate_incr
Uint8 * buf
int len
int len_cvt
int len_mult
double len_ratio
Uint16 format
int filter_index


Detailed Description

A structure to hold a set of audio conversion filters and buffers

Field Documentation

Uint8* buf

Buffer to hold entire audio data

Uint16 dst_format

Target audio format

Current audio conversion function

int len

Length of original audio buffer

int len_cvt

Length of converted audio buffer

int len_mult

buffer must be len*len_mult big

double len_ratio

Given len, final size is len*len_ratio

int needed

Set to 1 if conversion possible

double rate_incr

Rate conversion increment

Uint16 src_format

Source audio format


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

Generated on Mon Sep 21 21:29:50 2009 for Simple DirectMedia Layer by  doxygen 1.5.8