Mercurial > sdl-ios-xcode
comparison docs/html/guideaudioexamples.html @ 803:355632dca928
Updated SDL HTML documentation
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 10 Feb 2004 15:15:40 +0000 |
parents | e5bc29de3f0a |
children |
comparison
equal
deleted
inserted
replaced
802:3c609d54f100 | 803:355632dca928 |
---|---|
2 ><HEAD | 2 ><HEAD |
3 ><TITLE | 3 ><TITLE |
4 >Audio Examples</TITLE | 4 >Audio Examples</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" |
26 VLINK="#551a8b" | 26 VLINK="#551a8b" |
27 ALINK="#ff0000" | 27 ALINK="#ff0000" |
28 ><DIV | 28 ><DIV |
29 CLASS="NAVHEADER" | 29 CLASS="NAVHEADER" |
30 ><TABLE | 30 ><TABLE |
31 SUMMARY="Header navigation table" | |
31 WIDTH="100%" | 32 WIDTH="100%" |
32 BORDER="0" | 33 BORDER="0" |
33 CELLPADDING="0" | 34 CELLPADDING="0" |
34 CELLSPACING="0" | 35 CELLSPACING="0" |
35 ><TR | 36 ><TR |
43 WIDTH="10%" | 44 WIDTH="10%" |
44 ALIGN="left" | 45 ALIGN="left" |
45 VALIGN="bottom" | 46 VALIGN="bottom" |
46 ><A | 47 ><A |
47 HREF="guideeventexamples.html" | 48 HREF="guideeventexamples.html" |
49 ACCESSKEY="P" | |
48 >Prev</A | 50 >Prev</A |
49 ></TD | 51 ></TD |
50 ><TD | 52 ><TD |
51 WIDTH="80%" | 53 WIDTH="80%" |
52 ALIGN="center" | 54 ALIGN="center" |
56 WIDTH="10%" | 58 WIDTH="10%" |
57 ALIGN="right" | 59 ALIGN="right" |
58 VALIGN="bottom" | 60 VALIGN="bottom" |
59 ><A | 61 ><A |
60 HREF="guidecdromexamples.html" | 62 HREF="guidecdromexamples.html" |
63 ACCESSKEY="N" | |
61 >Next</A | 64 >Next</A |
62 ></TD | 65 ></TD |
63 ></TR | 66 ></TR |
64 ></TABLE | 67 ></TABLE |
65 ><HR | 68 ><HR |
69 CLASS="SECT1" | 72 CLASS="SECT1" |
70 ><H1 | 73 ><H1 |
71 CLASS="SECT1" | 74 CLASS="SECT1" |
72 ><A | 75 ><A |
73 NAME="GUIDEAUDIOEXAMPLES" | 76 NAME="GUIDEAUDIOEXAMPLES" |
74 >Audio Examples</A | 77 ></A |
75 ></H1 | 78 >Audio Examples</H1 |
76 ><P | 79 ><P |
77 ></P | 80 ></P |
78 ><DIV | 81 ><DIV |
79 CLASS="SECT2" | 82 CLASS="SECT2" |
80 ><H2 | 83 ><H2 |
81 CLASS="SECT2" | 84 CLASS="SECT2" |
82 ><A | 85 ><A |
83 NAME="AEN382" | 86 NAME="AEN382" |
84 >Opening the audio device</A | 87 ></A |
85 ></H2 | 88 >Opening the audio device</H2 |
86 ><P | 89 ><P |
87 ><PRE | 90 ><PRE |
88 CLASS="PROGRAMLISTING" | 91 CLASS="PROGRAMLISTING" |
89 > SDL_AudioSpec wanted; | 92 > SDL_AudioSpec wanted; |
90 extern void fill_audio(void *udata, Uint8 *stream, int len); | 93 extern void fill_audio(void *udata, Uint8 *stream, int len); |
109 CLASS="SECT2" | 112 CLASS="SECT2" |
110 ><H2 | 113 ><H2 |
111 CLASS="SECT2" | 114 CLASS="SECT2" |
112 ><A | 115 ><A |
113 NAME="AEN386" | 116 NAME="AEN386" |
114 >Playing audio</A | 117 ></A |
115 ></H2 | 118 >Playing audio</H2 |
116 ><P | 119 ><P |
117 ><PRE | 120 ><PRE |
118 CLASS="PROGRAMLISTING" | 121 CLASS="PROGRAMLISTING" |
119 > static Uint8 *audio_chunk; | 122 > static Uint8 *audio_chunk; |
120 static Uint32 audio_len; | 123 static Uint32 audio_len; |
161 ><DIV | 164 ><DIV |
162 CLASS="NAVFOOTER" | 165 CLASS="NAVFOOTER" |
163 ><HR | 166 ><HR |
164 ALIGN="LEFT" | 167 ALIGN="LEFT" |
165 WIDTH="100%"><TABLE | 168 WIDTH="100%"><TABLE |
169 SUMMARY="Footer navigation table" | |
166 WIDTH="100%" | 170 WIDTH="100%" |
167 BORDER="0" | 171 BORDER="0" |
168 CELLPADDING="0" | 172 CELLPADDING="0" |
169 CELLSPACING="0" | 173 CELLSPACING="0" |
170 ><TR | 174 ><TR |
172 WIDTH="33%" | 176 WIDTH="33%" |
173 ALIGN="left" | 177 ALIGN="left" |
174 VALIGN="top" | 178 VALIGN="top" |
175 ><A | 179 ><A |
176 HREF="guideeventexamples.html" | 180 HREF="guideeventexamples.html" |
181 ACCESSKEY="P" | |
177 >Prev</A | 182 >Prev</A |
178 ></TD | 183 ></TD |
179 ><TD | 184 ><TD |
180 WIDTH="34%" | 185 WIDTH="34%" |
181 ALIGN="center" | 186 ALIGN="center" |
182 VALIGN="top" | 187 VALIGN="top" |
183 ><A | 188 ><A |
184 HREF="index.html" | 189 HREF="index.html" |
190 ACCESSKEY="H" | |
185 >Home</A | 191 >Home</A |
186 ></TD | 192 ></TD |
187 ><TD | 193 ><TD |
188 WIDTH="33%" | 194 WIDTH="33%" |
189 ALIGN="right" | 195 ALIGN="right" |
190 VALIGN="top" | 196 VALIGN="top" |
191 ><A | 197 ><A |
192 HREF="guidecdromexamples.html" | 198 HREF="guidecdromexamples.html" |
199 ACCESSKEY="N" | |
193 >Next</A | 200 >Next</A |
194 ></TD | 201 ></TD |
195 ></TR | 202 ></TR |
196 ><TR | 203 ><TR |
197 ><TD | 204 ><TD |
203 WIDTH="34%" | 210 WIDTH="34%" |
204 ALIGN="center" | 211 ALIGN="center" |
205 VALIGN="top" | 212 VALIGN="top" |
206 ><A | 213 ><A |
207 HREF="guideexamples.html" | 214 HREF="guideexamples.html" |
215 ACCESSKEY="U" | |
208 >Up</A | 216 >Up</A |
209 ></TD | 217 ></TD |
210 ><TD | 218 ><TD |
211 WIDTH="33%" | 219 WIDTH="33%" |
212 ALIGN="right" | 220 ALIGN="right" |