| 1 | <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
|---|
| 2 | <html> |
|---|
| 3 | <head> |
|---|
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
|---|
| 5 | <meta name="GENERATOR" content="Mozilla/4.77 [en]C-gatewaynet (Win98; U) [Netscape]"> |
|---|
| 6 | <meta name="Author" content="Phil Burk"> |
|---|
| 7 | <meta name="Description" content="Tutorial for PortAudio, a cross platform, open-source, audio I/O library.It provides a very simple API for recording and/or playing sound using a simple callback function."> |
|---|
| 8 | <meta name="KeyWords" content="audio, tutorial, library, portable, open-source, DirectSound,sound, music, JSyn, synthesis,"> |
|---|
| 9 | <title>PortAudio Tutorial</title> |
|---|
| 10 | </head> |
|---|
| 11 | <body> |
|---|
| 12 | |
|---|
| 13 | <center><table COLS=1 WIDTH="100%" BGCOLOR="#FADA7A" > |
|---|
| 14 | <tr> |
|---|
| 15 | <td> |
|---|
| 16 | <center> |
|---|
| 17 | <h1> |
|---|
| 18 | PortAudio Tutorial</h1></center> |
|---|
| 19 | </td> |
|---|
| 20 | </tr> |
|---|
| 21 | </table></center> |
|---|
| 22 | |
|---|
| 23 | <h2> |
|---|
| 24 | Compiling for Macintosh</h2> |
|---|
| 25 | |
|---|
| 26 | <blockquote>To compile a Macintosh application with the PortAudio library, |
|---|
| 27 | add the following source files to your project: |
|---|
| 28 | <blockquote> |
|---|
| 29 | <pre>pa_mac:pa_mac.c |
|---|
| 30 | pa_common:pa_lib.c |
|---|
| 31 | pa_common:portaudio.h |
|---|
| 32 | pa_common:pa_host.h</pre> |
|---|
| 33 | </blockquote> |
|---|
| 34 | Also add the Apple <b>SoundLib</b> to your project. |
|---|
| 35 | <p>You may try compiling the "pa_tests:patest_saw.c" file first because |
|---|
| 36 | it is the simplest.</blockquote> |
|---|
| 37 | <font size=+2><a href="http://www.portaudio.com/">home</a> | |
|---|
| 38 | <a href="pa_tutorial.html">contents</a> |
|---|
| 39 | | <a href="pa_tut_over.html">previous</a> | <a href="pa_tut_callback.html">next</a></font> |
|---|
| 40 | </body> |
|---|
| 41 | </html> |
|---|