Mercurial > sdl-ios-xcode
comparison docs/html/audio.html @ 803:355632dca928
Updated SDL HTML documentation
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 10 Feb 2004 15:15:40 +0000 |
parents | 55f1f1b3e27d |
children |
comparison
equal
deleted
inserted
replaced
802:3c609d54f100 | 803:355632dca928 |
---|---|
2 ><HEAD | 2 ><HEAD |
3 ><TITLE | 3 ><TITLE |
4 >Audio</TITLE | 4 >Audio</TITLE |
5 ><META | 5 ><META |
6 NAME="GENERATOR" | 6 NAME="GENERATOR" |
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 | 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
8 "><LINK | 8 "><LINK |
9 REL="HOME" | 9 REL="HOME" |
10 TITLE="SDL Library Documentation" | 10 TITLE="SDL Library Documentation" |
11 HREF="index.html"><LINK | 11 HREF="index.html"><LINK |
12 REL="UP" | 12 REL="UP" |
30 VLINK="#551a8b" | 30 VLINK="#551a8b" |
31 ALINK="#ff0000" | 31 ALINK="#ff0000" |
32 ><DIV | 32 ><DIV |
33 CLASS="NAVHEADER" | 33 CLASS="NAVHEADER" |
34 ><TABLE | 34 ><TABLE |
35 SUMMARY="Header navigation table" | |
35 WIDTH="100%" | 36 WIDTH="100%" |
36 BORDER="0" | 37 BORDER="0" |
37 CELLPADDING="0" | 38 CELLPADDING="0" |
38 CELLSPACING="0" | 39 CELLSPACING="0" |
39 ><TR | 40 ><TR |
47 WIDTH="10%" | 48 WIDTH="10%" |
48 ALIGN="left" | 49 ALIGN="left" |
49 VALIGN="bottom" | 50 VALIGN="bottom" |
50 ><A | 51 ><A |
51 HREF="sdljoystickclose.html" | 52 HREF="sdljoystickclose.html" |
53 ACCESSKEY="P" | |
52 >Prev</A | 54 >Prev</A |
53 ></TD | 55 ></TD |
54 ><TD | 56 ><TD |
55 WIDTH="80%" | 57 WIDTH="80%" |
56 ALIGN="center" | 58 ALIGN="center" |
60 WIDTH="10%" | 62 WIDTH="10%" |
61 ALIGN="right" | 63 ALIGN="right" |
62 VALIGN="bottom" | 64 VALIGN="bottom" |
63 ><A | 65 ><A |
64 HREF="sdlaudiospec.html" | 66 HREF="sdlaudiospec.html" |
67 ACCESSKEY="N" | |
65 >Next</A | 68 >Next</A |
66 ></TD | 69 ></TD |
67 ></TR | 70 ></TR |
68 ></TABLE | 71 ></TABLE |
69 ><HR | 72 ><HR |
72 ><DIV | 75 ><DIV |
73 CLASS="CHAPTER" | 76 CLASS="CHAPTER" |
74 ><H1 | 77 ><H1 |
75 ><A | 78 ><A |
76 NAME="AUDIO" | 79 NAME="AUDIO" |
77 >Chapter 10. Audio</A | 80 ></A |
78 ></H1 | 81 >Chapter 10. Audio</H1 |
79 ><DIV | 82 ><DIV |
80 CLASS="TOC" | 83 CLASS="TOC" |
81 ><DL | 84 ><DL |
82 ><DT | 85 ><DT |
83 ><B | 86 ><B |
85 ></DT | 88 ></DT |
86 ><DT | 89 ><DT |
87 ><A | 90 ><A |
88 HREF="sdlaudiospec.html" | 91 HREF="sdlaudiospec.html" |
89 >SDL_AudioSpec</A | 92 >SDL_AudioSpec</A |
90 > — Audio Specification Structure</DT | 93 > -- Audio Specification Structure</DT |
91 ><DT | 94 ><DT |
92 ><A | 95 ><A |
93 HREF="sdlopenaudio.html" | 96 HREF="sdlopenaudio.html" |
94 >SDL_OpenAudio</A | 97 >SDL_OpenAudio</A |
95 > — Opens the audio device with the desired parameters.</DT | 98 > -- Opens the audio device with the desired parameters.</DT |
96 ><DT | 99 ><DT |
97 ><A | 100 ><A |
98 HREF="sdlpauseaudio.html" | 101 HREF="sdlpauseaudio.html" |
99 >SDL_PauseAudio</A | 102 >SDL_PauseAudio</A |
100 > — Pauses and unpauses the audio callback processing</DT | 103 > -- Pauses and unpauses the audio callback processing</DT |
101 ><DT | 104 ><DT |
102 ><A | 105 ><A |
103 HREF="sdlgetaudiostatus.html" | 106 HREF="sdlgetaudiostatus.html" |
104 >SDL_GetAudioStatus</A | 107 >SDL_GetAudioStatus</A |
105 > — Get the current audio state</DT | 108 > -- Get the current audio state</DT |
106 ><DT | 109 ><DT |
107 ><A | 110 ><A |
108 HREF="sdlloadwav.html" | 111 HREF="sdlloadwav.html" |
109 >SDL_LoadWAV</A | 112 >SDL_LoadWAV</A |
110 > — Load a WAVE file</DT | 113 > -- Load a WAVE file</DT |
111 ><DT | 114 ><DT |
112 ><A | 115 ><A |
113 HREF="sdlfreewav.html" | 116 HREF="sdlfreewav.html" |
114 >SDL_FreeWAV</A | 117 >SDL_FreeWAV</A |
115 > — Frees previously opened WAV data</DT | 118 > -- Frees previously opened WAV data</DT |
116 ><DT | 119 ><DT |
117 ><A | 120 ><A |
118 HREF="sdlaudiocvt.html" | 121 HREF="sdlaudiocvt.html" |
119 >SDL_AudioCVT</A | 122 >SDL_AudioCVT</A |
120 > — Audio Conversion Structure</DT | 123 > -- Audio Conversion Structure</DT |
121 ><DT | 124 ><DT |
122 ><A | 125 ><A |
123 HREF="sdlbuildaudiocvt.html" | 126 HREF="sdlbuildaudiocvt.html" |
124 >SDL_BuildAudioCVT</A | 127 >SDL_BuildAudioCVT</A |
125 > — Initializes a SDL_AudioCVT structure for conversion</DT | 128 > -- Initializes a SDL_AudioCVT structure for conversion</DT |
126 ><DT | 129 ><DT |
127 ><A | 130 ><A |
128 HREF="sdlconvertaudio.html" | 131 HREF="sdlconvertaudio.html" |
129 >SDL_ConvertAudio</A | 132 >SDL_ConvertAudio</A |
130 > — Convert audio data to a desired audio format.</DT | 133 > -- Convert audio data to a desired audio format.</DT |
131 ><DT | 134 ><DT |
132 ><A | 135 ><A |
133 HREF="sdlmixaudio.html" | 136 HREF="sdlmixaudio.html" |
134 >SDL_MixAudio</A | 137 >SDL_MixAudio</A |
135 > — Mix audio data</DT | 138 > -- Mix audio data</DT |
136 ><DT | 139 ><DT |
137 ><A | 140 ><A |
138 HREF="sdllockaudio.html" | 141 HREF="sdllockaudio.html" |
139 >SDL_LockAudio</A | 142 >SDL_LockAudio</A |
140 > — Lock out the callback function</DT | 143 > -- Lock out the callback function</DT |
141 ><DT | 144 ><DT |
142 ><A | 145 ><A |
143 HREF="sdlunlockaudio.html" | 146 HREF="sdlunlockaudio.html" |
144 >SDL_UnlockAudio</A | 147 >SDL_UnlockAudio</A |
145 > — Unlock the callback function</DT | 148 > -- Unlock the callback function</DT |
146 ><DT | 149 ><DT |
147 ><A | 150 ><A |
148 HREF="sdlcloseaudio.html" | 151 HREF="sdlcloseaudio.html" |
149 >SDL_CloseAudio</A | 152 >SDL_CloseAudio</A |
150 > — Shuts down audio processing and closes the audio device.</DT | 153 > -- Shuts down audio processing and closes the audio device.</DT |
151 ></DL | 154 ></DL |
152 ></DIV | 155 ></DIV |
153 ><P | 156 ><P |
154 >Sound on the computer is translated from waves that you hear into a series of | 157 >Sound on the computer is translated from waves that you hear into a series of |
155 values, or samples, each representing the amplitude of the wave. When these | 158 values, or samples, each representing the amplitude of the wave. When these |
175 ><DIV | 178 ><DIV |
176 CLASS="NAVFOOTER" | 179 CLASS="NAVFOOTER" |
177 ><HR | 180 ><HR |
178 ALIGN="LEFT" | 181 ALIGN="LEFT" |
179 WIDTH="100%"><TABLE | 182 WIDTH="100%"><TABLE |
183 SUMMARY="Footer navigation table" | |
180 WIDTH="100%" | 184 WIDTH="100%" |
181 BORDER="0" | 185 BORDER="0" |
182 CELLPADDING="0" | 186 CELLPADDING="0" |
183 CELLSPACING="0" | 187 CELLSPACING="0" |
184 ><TR | 188 ><TR |
186 WIDTH="33%" | 190 WIDTH="33%" |
187 ALIGN="left" | 191 ALIGN="left" |
188 VALIGN="top" | 192 VALIGN="top" |
189 ><A | 193 ><A |
190 HREF="sdljoystickclose.html" | 194 HREF="sdljoystickclose.html" |
195 ACCESSKEY="P" | |
191 >Prev</A | 196 >Prev</A |
192 ></TD | 197 ></TD |
193 ><TD | 198 ><TD |
194 WIDTH="34%" | 199 WIDTH="34%" |
195 ALIGN="center" | 200 ALIGN="center" |
196 VALIGN="top" | 201 VALIGN="top" |
197 ><A | 202 ><A |
198 HREF="index.html" | 203 HREF="index.html" |
204 ACCESSKEY="H" | |
199 >Home</A | 205 >Home</A |
200 ></TD | 206 ></TD |
201 ><TD | 207 ><TD |
202 WIDTH="33%" | 208 WIDTH="33%" |
203 ALIGN="right" | 209 ALIGN="right" |
204 VALIGN="top" | 210 VALIGN="top" |
205 ><A | 211 ><A |
206 HREF="sdlaudiospec.html" | 212 HREF="sdlaudiospec.html" |
213 ACCESSKEY="N" | |
207 >Next</A | 214 >Next</A |
208 ></TD | 215 ></TD |
209 ></TR | 216 ></TR |
210 ><TR | 217 ><TR |
211 ><TD | 218 ><TD |
217 WIDTH="34%" | 224 WIDTH="34%" |
218 ALIGN="center" | 225 ALIGN="center" |
219 VALIGN="top" | 226 VALIGN="top" |
220 ><A | 227 ><A |
221 HREF="reference.html" | 228 HREF="reference.html" |
229 ACCESSKEY="U" | |
222 >Up</A | 230 >Up</A |
223 ></TD | 231 ></TD |
224 ><TD | 232 ><TD |
225 WIDTH="33%" | 233 WIDTH="33%" |
226 ALIGN="right" | 234 ALIGN="right" |