From ed932acb5860bf8b9296169676499562a55d139e Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Mon, 6 Sep 2004 20:20:36 +0000 Subject: checking in version 0.38test5. Oops, I realize I forgot some more nice files, will add them and re-commit. svn path=/trunk/; revision=2010 --- pd/portaudio_v18/docs/index.html | 20 +++++++++++++++++-- pd/portaudio_v18/docs/pa_tut_mac_osx.html | 28 ++++++++++++++------------- pd/portaudio_v18/docs/portaudio_icmc2001.pdf | Bin 49434 -> 50968 bytes 3 files changed, 33 insertions(+), 15 deletions(-) (limited to 'pd/portaudio_v18/docs') diff --git a/pd/portaudio_v18/docs/index.html b/pd/portaudio_v18/docs/index.html index bd94eaa7..f92cd110 100644 --- a/pd/portaudio_v18/docs/index.html +++ b/pd/portaudio_v18/docs/index.html @@ -61,8 +61,24 @@ Feedback welcome.

API Reference for V19

-
Reference documents for the Application Programmer Interface -for V19 generated by doxygen.
+
+

Reference documents for the Application Programmer Interface + for V19 generated by doxygen.

+
+

Paper presented at ACMC2003

+
+

"PortAudio and Media Synchronisation" - Discusses how the V19 API relates to + various synchronisation tasks including MIDI controlled playback, GUI/Audio + sync and MIDI sync. http://www.portaudio.com/docs/portaudio_sync_acmc2003.pdf (PDF)

+
+

Programmer's Guides

+ +

diff --git a/pd/portaudio_v18/docs/pa_tut_mac_osx.html b/pd/portaudio_v18/docs/pa_tut_mac_osx.html index 44b13883..bc33f44a 100644 --- a/pd/portaudio_v18/docs/pa_tut_mac_osx.html +++ b/pd/portaudio_v18/docs/pa_tut_mac_osx.html @@ -30,13 +30,15 @@ Compiling for Macintosh OS X

To compile a Macintosh OS X CoreAudio application with the PortAudio library you will use the following source files: -
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
-pablio/ringbuffer.c
-pablio/ringbuffer.h
+
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 +
pa_common/pa_trace.c +
pa_common/pa_trace.h +
pablio/ringbuffer.c +
pablio/ringbuffer.h

@@ -53,7 +55,7 @@ the simplest.

Or Using Metrowerks CodeWarrior 8

-
by James Vanlommel
+
by James Van Lommel
Create a new CodeWarrior project using Mac OS C++ Stationery.
Then choose Mac OS X Mach-O > Standard Console > C++ Console Mach-O. @@ -61,19 +63,19 @@ Or Using Metrowerks CodeWarrior 8 files from above to your Project.

Add a test file of your choosing, like
   patests    /patest_sine8.c -
  -
Add the frameworks to the Frameworks tab using Project > Add Files... +

Add the frameworks to the Frameworks tab using Project > Add Files...
   CoreAudio
   AudioToolbox

(The System framework should already be a part of the project.)

Open the current target's settings, and in Language Settings > C/C++ Language, uncheck (disable) the "ANSI Strict" setting. (Do this for both -Debug and Release projects, if necessary.) +Debug and Release projects, if necessary.) You may also choose to disable +RTTI and exceptions; the most important settings are 'Force C++ compilation' +(enabled) and 'ANSI Strict' (disabled)."

Edit pa_mac_core.c:
   On line 1546, cast the PaHost_AllocateFastMemory() result to a (char *) or you will get a compile error. -
  -
Compile and run. (may need to run from a terminal window) +

Compile and run. (may need to run from a terminal window)

I've successfully built patest_sine8.c this way using the CVS .tar version of portaudio (date: 2003-04-27). I get 17 warnings during compilation, all of which deal with unused variables or arguments.

diff --git a/pd/portaudio_v18/docs/portaudio_icmc2001.pdf b/pd/portaudio_v18/docs/portaudio_icmc2001.pdf index 747016e1..dd074b7d 100644 Binary files a/pd/portaudio_v18/docs/portaudio_icmc2001.pdf and b/pd/portaudio_v18/docs/portaudio_icmc2001.pdf differ -- cgit v1.2.1