PortAudio Tutorial

Compiling for Macintosh OS X

To compile a Macintosh OS X CoreAudio application with the PortAudio library:

Create a new ProjectBuilder project. You can use a "Tool" project to run the PortAudio examples.

Add the following source files to your Project:

pa_mac_core/pa_mac_core.c
pa_common/pa_lib.c
pa_common/portaudio.h
pa_common/pa_host.h
pa_common/pa_convert.c
Add the Apple CoreAudio.framework to your project by selecting "Add FrameWorks..." from the Project menu.

Compile and run the "pa_tests:patest_saw.c" file first because it is the simplest.

home | contents | previousnext