[PD-cvs] pd/portaudio/pa_mac_sm pa_mac_sm.c,1.2,1.3
Miller Puckette
millerpuckette at users.sourceforge.net
Mon Sep 6 22:44:42 CEST 2004
Update of /cvsroot/pure-data/pd/portaudio/pa_mac_sm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15364/portaudio/pa_mac_sm
Added Files:
pa_mac_sm.c
Log Message:
... more changes to try to upload 0.38 test 5 to CVS
--- NEW FILE: pa_mac_sm.c ---
/*
* $Id: pa_mac_sm.c,v 1.3 2004/09/06 20:44:40 millerpuckette Exp $
* Portable Audio I/O Library for Macintosh
*
* Based on the Open Source API proposed by Ross Bencina
* Copyright (c) 1999-2000 Phil Burk
*
* Special thanks to Chris Rolfe for his many helpful suggestions, bug fixes,
* and code contributions.
* Thanks also to Tue Haste Andersen, Alberto Ricci, Nico Wald,
* Roelf Toxopeus and Tom Erbe for testing the code and making
* numerous suggestions.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
[...1617 lines suppressed...]
playCmd.param1 = 0;
playCmd.param2 = (long) &pahsc->pahsc_SoundHeaders[ index ];
error = SndDoCommand (pahsc->pahsc_Channel, &playCmd, true );
if( error != noErr ) goto gotError;
/* Ask for a callback when it is done. */
callbackCmd.cmd = callBackCmd;
callbackCmd.param1 = index;
callbackCmd.param2 = (long)past;
error = SndDoCommand (pahsc->pahsc_Channel, &callbackCmd, true );
if( error != noErr ) goto gotError;
pahsc->pahsc_NumOutsQueued += 1;
return;
gotError:
sPaHostError = error;
done:
return;
}
More information about the Pd-cvs
mailing list