#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 |
Uint8* buf |
Buffer to hold entire audio data
Uint16 dst_format |
Target audio format
int filter_index |
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