diff options
Diffstat (limited to 'pd/portmidi')
-rw-r--r-- | pd/portmidi/pm_mac/pmmacosxcm.c | 2 | ||||
-rw-r--r-- | pd/portmidi/porttime/porttime.h | 6 | ||||
-rw-r--r-- | pd/portmidi/porttime/ptmacosx_cf.c | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/pd/portmidi/pm_mac/pmmacosxcm.c b/pd/portmidi/pm_mac/pmmacosxcm.c index 55b9b084..d62391f0 100644 --- a/pd/portmidi/pm_mac/pmmacosxcm.c +++ b/pd/portmidi/pm_mac/pmmacosxcm.c @@ -5,7 +5,7 @@ * and subsequent work by Andrew Zeldis and Zico Kolter
* and Roger B. Dannenberg
*
- * $Id: pmmacosxcm.c,v 1.1 2005-12-15 00:56:57 eighthave Exp $
+ * $Id: pmmacosxcm.c,v 1.2 2005-12-31 02:56:03 millerpuckette Exp $
*/
/* Notes:
diff --git a/pd/portmidi/porttime/porttime.h b/pd/portmidi/porttime/porttime.h index 029ea777..762a71af 100644 --- a/pd/portmidi/porttime/porttime.h +++ b/pd/portmidi/porttime/porttime.h @@ -27,9 +27,9 @@ typedef void (PtCallback)( PtTimestamp timestamp, void *userData ); PtError Pt_Start(int resolution, PtCallback *callback, void *userData);
-PtError Pt_Stop();
-int Pt_Started();
-PtTimestamp Pt_Time();
+PtError Pt_Stop( void);
+int Pt_Started( void);
+PtTimestamp Pt_Time( void);
#ifdef __cplusplus
}
diff --git a/pd/portmidi/porttime/ptmacosx_cf.c b/pd/portmidi/porttime/ptmacosx_cf.c index c0c22a32..1837246b 100644 --- a/pd/portmidi/porttime/ptmacosx_cf.c +++ b/pd/portmidi/porttime/ptmacosx_cf.c @@ -91,8 +91,6 @@ PtError Pt_Start(int resolution, PtCallback *callback, void *userData) PtThreadParams *params = (PtThreadParams*)malloc(sizeof(PtThreadParams));
pthread_t pthread_id;
- printf("Pt_Start() called\n");
-
// /* make sure we're not already playing */
if (time_started_flag) return ptAlreadyStarted;
startTime = CFAbsoluteTimeGetCurrent();
@@ -113,7 +111,6 @@ PtError Pt_Start(int resolution, PtCallback *callback, void *userData) PtError Pt_Stop()
{
- printf("Pt_Stop called\n");
CFRunLoopStop(timerRunLoop);
time_started_flag = FALSE;
|