<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Mozilla/4.77 [en]C-gatewaynet (Win98; U) [Netscape]"> <meta name="Author" content="Phil Burk"> <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."> <meta name="KeyWords" content="audio, tutorial, library, portable, open-source, DirectSound,sound, music, JSyn, synthesis,"> <title>PortAudio Tutorial</title> </head> <body> <center><table COLS=1 WIDTH="100%" BGCOLOR="#FADA7A" > <tr> <td> <center> <h1> PortAudio Tutorial</h1></center> </td> </tr> </table></center> <h2> Compiling for Macintosh</h2> <blockquote>To compile a Macintosh application with the PortAudio library, add the following source files to your project: <blockquote> <pre>pa_mac:pa_mac.c pa_common:pa_lib.c pa_common:portaudio.h pa_common:pa_host.h</pre> </blockquote> Also add the Apple <b>SoundLib</b> to your project. <p>You may try compiling the "pa_tests:patest_saw.c" file first because it is the simplest.</blockquote> <font size=+2><a href="http://www.portaudio.com/">home</a> | <a href="pa_tutorial.html">contents</a> | <a href="pa_tut_over.html">previous</a> | <a href="pa_tut_callback.html">next</a></font> </body> </html>