Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_AudioCVT(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_AudioCVT !!!SDL_AudioCVT NAME STRUCTURE DEFINITION STRUCTURE DATA DESCRIPTION SEE ALSO ---- !!NAME SDL_AudioCVT- Audio Conversion Structure !!STRUCTURE 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 __needed__ Set to one if the conversion is possible __src_format__ Audio format of the source __dest_format__ Audio format of the destination __rate_incr__ Rate conversion increment __buf__ Audio buffer __len__ Length of the original audio buffer in bytes __len_cvt__ Length of converted audio buffer in bytes (calculated) __len_mult buf__ must be __len__*__len_mult__ bytes in size(calculated) __len_ratio__ Final audio size is __len__*__len_ratio__ __filters[[10](..)__ Pointers to functions needed for this conversion __filter_index__ Current conversion function !!DESCRIPTION The __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. __Uint8 *buf__ __int len__ __int len_mult__ __double len_ratio__ !!SEE ALSO __SDL_BuildAudioCVT__, __SDL_!ConvertAudio__, __SDL_!AudioSpec__ ----
One page links to
SDL_AudioCVT(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.