SDL_BuildAudioCVT.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_BuildAudioCVT" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_BuildAudioCVT- Initializes a SDL_AudioCVT structure for conversion
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_BuildAudioCVTfPfR(fBSDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_ratefR);
- .SH "DESCRIPTION"
- .PP
- Before an fIfBSDL_AudioCVTfRfR structure can be used to convert audio data it must be initialized with source and destination information&.
- .PP
- fBsrc_formatfR and fBdst_formatfR are the source and destination format of the conversion&. (For information on audio formats see fIfB SDL_AudioSpecfRfR)&. fBsrc_channelsfR and fBdst_channelsfR are the number of channels in the source and destination formats&. Finally, fBsrc_ratefR and fBdst_ratefR are the frequency or samples-per-second of the source and destination formats&. Once again, see fIfBSDL_AudioSpecfRfR&.
- .SH "RETURN VALUES"
- .PP
- Returns fB-1fR if the filter could not be built or 1 if it could&.
- .SH "EXAMPLES"
- .PP
- See fIfBSDL_ConvertAudiofPfR&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_ConvertAudiofPfR, fIfBSDL_AudioCVTfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58