Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_BuildAudioCVT(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_BuildAudioCVT !!!SDL_BuildAudioCVT NAME SYNOPSIS DESCRIPTION RETURN VALUES EXAMPLES SEE ALSO ---- !!NAME SDL_BuildAudioCVT- Initializes a SDL_AudioCVT structure for conversion !!SYNOPSIS __#include __ __int SDL_BuildAudioCVT__(__SDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate__); !!DESCRIPTION Before an __SDL_AudioCVT__ structure can be used to convert audio data it must be initialized with source and destination information. __src_format__ and __dst_format__ are the source and destination format of the conversion. (For information on audio formats see __SDL_!AudioSpec__). __src_channels__ and __dst_channels__ are the number of channels in the source and destination formats. Finally, __src_rate__ and __dst_rate__ are the frequency or samples-per-second of the source and destination formats. Once again, see __SDL_!AudioSpec__. !!RETURN VALUES Returns __-1__ if the filter could not be built or 1 if it could. !!EXAMPLES See __SDL_!ConvertAudio__. !!SEE ALSO __SDL_!ConvertAudio__, __SDL_AudioCVT__ ----
One page links to
SDL_BuildAudioCVT(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.