Penguin
Blame: SDL_BuildAudioCVT(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_BuildAudioCVT(3) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SDL_BuildAudioCVT
2 !!!SDL_BuildAudioCVT
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUES
7 EXAMPLES
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 SDL_BuildAudioCVT- Initializes a SDL_AudioCVT structure for conversion
14 !!SYNOPSIS
15
16
17 __#include __
18
19
20 __int SDL_BuildAudioCVT__(__SDL_AudioCVT *cvt, Uint16
21 src_format, Uint8 src_channels, int src_rate, Uint16
22 dst_format, Uint8 dst_channels, int
23 dst_rate__);
24 !!DESCRIPTION
25
26
27 Before an __SDL_AudioCVT__ structure can be used to
28 convert audio data it must be initialized with source and
29 destination information.
30
31
32 __src_format__ and __dst_format__ are the source and
33 destination format of the conversion. (For information on
2 perry 34 audio formats see __SDL_!AudioSpec__). __src_channels__
1 perry 35 and __dst_channels__ are the number of channels in the
36 source and destination formats. Finally, __src_rate__ and
37 __dst_rate__ are the frequency or samples-per-second of
38 the source and destination formats. Once again, see
2 perry 39 __SDL_!AudioSpec__.
1 perry 40 !!RETURN VALUES
41
42
43 Returns __-1__ if the filter could not be built or 1 if
44 it could.
45 !!EXAMPLES
46
47
2 perry 48 See __SDL_!ConvertAudio__.
1 perry 49 !!SEE ALSO
50
51
2 perry 52 __SDL_!ConvertAudio__, __SDL_AudioCVT__
1 perry 53 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.