Introduction |
|
xiii | |
|
The Anatomy of Multimedia |
|
|
1 | (8) |
|
Why Multimedia? How Multimedia? |
|
|
1 | (1) |
|
|
2 | (1) |
|
|
2 | (4) |
|
|
3 | (1) |
|
Multimedia in Business Applications |
|
|
4 | (2) |
|
|
6 | (3) |
|
|
6 | (2) |
|
|
8 | (1) |
|
Building a Multimedia Application |
|
|
9 | (36) |
|
|
9 | (5) |
|
|
10 | (3) |
|
|
13 | (1) |
|
Building a Sound Component Expert |
|
|
14 | (20) |
|
|
15 | (4) |
|
|
19 | (5) |
|
|
24 | (8) |
|
Expanding the Component Palette |
|
|
32 | (2) |
|
Adding Sound to a Database Application |
|
|
34 | (11) |
|
|
45 | (84) |
|
Waveform Audio---An Introduction |
|
|
46 | (7) |
|
General Support for Waveform Audio |
|
|
53 | (7) |
|
|
57 | (3) |
|
Messages, Callbacks, and Processing Sound |
|
|
60 | (6) |
|
Recording Sounds with Waveform Audio |
|
|
66 | (23) |
|
|
68 | (1) |
|
|
68 | (3) |
|
|
71 | (2) |
|
|
73 | (5) |
|
|
78 | (1) |
|
|
79 | (3) |
|
|
82 | (1) |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
85 | (1) |
|
|
86 | (1) |
|
|
87 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
Playing Sounds with Waveform Audio |
|
|
89 | (34) |
|
|
91 | (1) |
|
|
92 | (2) |
|
|
94 | (3) |
|
|
97 | (1) |
|
|
98 | (1) |
|
|
99 | (5) |
|
|
104 | (1) |
|
|
105 | (3) |
|
|
108 | (1) |
|
|
109 | (2) |
|
|
111 | (1) |
|
|
112 | (1) |
|
|
112 | (1) |
|
|
113 | (1) |
|
|
114 | (1) |
|
|
115 | (2) |
|
|
117 | (1) |
|
|
118 | (1) |
|
|
119 | (2) |
|
|
121 | (1) |
|
|
122 | (1) |
|
Putting It All Together---A Sample Application |
|
|
123 | (6) |
|
|
129 | (82) |
|
|
129 | (3) |
|
|
132 | (7) |
|
MIDI Messages: The Short and the Long of It |
|
|
139 | (10) |
|
|
146 | (2) |
|
|
148 | (1) |
|
Recording Sounds with MIDI |
|
|
149 | (18) |
|
|
150 | (1) |
|
|
151 | (2) |
|
|
153 | (2) |
|
|
155 | (2) |
|
|
157 | (2) |
|
|
159 | (2) |
|
|
161 | (1) |
|
|
162 | (1) |
|
|
163 | (1) |
|
|
163 | (1) |
|
|
164 | (1) |
|
|
165 | (1) |
|
|
166 | (1) |
|
|
167 | (29) |
|
|
168 | (1) |
|
|
168 | (5) |
|
|
173 | (2) |
|
|
175 | (1) |
|
|
176 | (1) |
|
|
177 | (5) |
|
|
182 | (2) |
|
|
184 | (1) |
|
|
185 | (1) |
|
|
186 | (3) |
|
|
189 | (1) |
|
|
190 | (1) |
|
|
191 | (2) |
|
|
193 | (2) |
|
|
195 | (1) |
|
|
196 | (1) |
|
|
196 | (15) |
|
|
201 | (3) |
|
|
204 | (1) |
|
|
205 | (1) |
|
|
206 | (1) |
|
|
207 | (1) |
|
|
208 | (1) |
|
|
209 | (1) |
|
|
210 | (1) |
|
|
211 | (10) |
|
|
212 | (9) |
|
|
212 | (1) |
|
|
213 | (2) |
|
|
215 | (2) |
|
|
217 | (1) |
|
|
218 | (3) |
|
|
221 | (50) |
|
|
221 | (5) |
|
Types of Mixer Controls and Structures |
|
|
226 | (18) |
|
|
226 | (1) |
|
|
227 | (1) |
|
|
228 | (1) |
|
|
229 | (1) |
|
|
229 | (1) |
|
|
230 | (1) |
|
|
231 | (1) |
|
|
231 | (1) |
|
|
231 | (1) |
|
|
232 | (12) |
|
Opening and Closing Mixer Devices |
|
|
244 | (27) |
|
|
245 | (4) |
|
|
249 | (1) |
|
|
249 | (5) |
|
|
254 | (5) |
|
|
259 | (5) |
|
|
264 | (1) |
|
|
265 | (2) |
|
|
267 | (4) |
|
|
271 | (36) |
|
|
272 | (12) |
|
Multimedia Timer Functions |
|
|
276 | (1) |
|
|
276 | (2) |
|
|
278 | (1) |
|
|
279 | (2) |
|
|
281 | (1) |
|
|
281 | (1) |
|
|
282 | (1) |
|
|
283 | (1) |
|
|
284 | (23) |
|
|
287 | (2) |
|
|
289 | (2) |
|
Other Constants and Structures Used to Monitor Joysticks |
|
|
291 | (5) |
|
|
296 | (1) |
|
|
296 | (1) |
|
|
296 | (3) |
|
|
299 | (1) |
|
|
300 | (2) |
|
|
302 | (1) |
|
|
303 | (1) |
|
|
304 | (1) |
|
|
305 | (2) |
|
Multimedia Input and Output Support |
|
|
307 | (48) |
|
Types of Multimedia Input/Output Services |
|
|
308 | (11) |
|
Basic Multimedia I/O Services |
|
|
308 | (1) |
|
|
309 | (1) |
|
|
310 | (3) |
|
|
313 | (3) |
|
Custom Multimedia I/O Services |
|
|
316 | (3) |
|
Constants Used in Multimedia Input/Output |
|
|
319 | (4) |
|
Multimedia Input/Output Functions |
|
|
323 | (19) |
|
|
323 | (5) |
|
|
328 | (7) |
|
|
335 | (1) |
|
|
336 | (1) |
|
|
337 | (1) |
|
|
338 | (2) |
|
|
340 | (1) |
|
|
341 | (1) |
|
Directly Accessing I/O Buffers |
|
|
342 | (7) |
|
|
343 | (1) |
|
|
344 | (1) |
|
|
345 | (1) |
|
|
346 | (2) |
|
|
348 | (1) |
|
Descending into a RIFF Chunk |
|
|
349 | (6) |
|
|
349 | (2) |
|
|
351 | (1) |
|
|
352 | (3) |
|
The Media Control Interface API |
|
|
355 | (104) |
|
|
356 | (2) |
|
|
358 | (13) |
|
|
369 | (2) |
|
|
371 | (1) |
|
Working with MCI Devices and Drivers |
|
|
372 | (2) |
|
Basic Tasks: Capabilities; Opening and Closing Devices; Playing, Recording, and Controlling Media |
|
|
374 | (10) |
|
|
384 | (9) |
|
|
384 | (2) |
|
|
386 | (1) |
|
|
387 | (2) |
|
|
389 | (1) |
|
|
390 | (1) |
|
|
391 | (1) |
|
|
392 | (1) |
|
|
393 | (58) |
|
|
393 | (3) |
|
|
396 | (1) |
|
|
396 | (1) |
|
|
397 | (2) |
|
|
399 | (2) |
|
|
401 | (1) |
|
|
402 | (1) |
|
|
402 | (3) |
|
|
405 | (1) |
|
|
406 | (1) |
|
|
406 | (1) |
|
|
407 | (1) |
|
|
407 | (2) |
|
|
409 | (1) |
|
|
410 | (3) |
|
|
413 | (16) |
|
|
429 | (2) |
|
|
431 | (1) |
|
|
432 | (2) |
|
|
434 | (3) |
|
|
437 | (2) |
|
|
439 | (1) |
|
|
440 | (1) |
|
|
441 | (2) |
|
|
443 | (1) |
|
|
444 | (1) |
|
|
445 | (2) |
|
|
447 | (1) |
|
|
448 | (1) |
|
|
448 | (3) |
|
Other Structures for the dwParam2 parameter of Various Commands |
|
|
451 | (8) |
Appendix A A Primer on Delphi Experts |
|
459 | (12) |
|
A Wealth of Delphi Experts |
|
|
459 | (1) |
|
Managing Different Expert Types Using Conditional Defines |
|
|
460 | (7) |
|
Delphi's Expert Interface |
|
|
467 | (1) |
|
Using Tool Services to Access Installed Components |
|
|
468 | (3) |
Appendix B Other Sources of Information |
|
471 | (5) |
|
General Multimedia Programming Books |
|
|
471 | (1) |
|
|
472 | (1) |
|
|
473 | (1) |
|
|
474 | (2) |
Appendix C A Glossary of Audio and Multimedia Terms |
|
476 | (3) |
Index |
|
479 | |