Copyright (C) 2000-2012 |
Manpages SDL_AudioCVTSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 22:58 Index Return to Main Contents NAMESDL_AudioCVT- Audio Conversion StructureSTRUCTURE DEFINITION
typedef struct{ int needed; Uint16 src_format; Uint16 dest_format; double rate_incr; Uint8 *buf; int len; int len_cvt; int len_mult; double len_ratio; void (*filters[10])(struct SDL_AudioCVT *cvt, Uint16 format); int filter_index; } SDL_AudioCVT; STRUCTURE DATA
DESCRIPTIONThe SDL_AudioCVT is used to convert audio data between different formats. A SDL_AudioCVT structure is created with the SDL_BuildAudioCVT function, while the actual conversion is done by the SDL_ConvertAudio function. Many of the fields in the SDL_AudioCVT structure should be considered private and their function will not be discussed here.
SEE ALSOSDL_BuildAudioCVT, SDL_ConvertAudio, SDL_AudioSpec
IndexThis document was created by man2html, using the manual pages. Time: 07:58:03 GMT, April 26, 2024 |