From 1498e89f88d0a090a59ceb4cf19daf9d9c8963c5 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 31 Dec 2005 02:56:03 +0000 Subject: re-synced with my own source tree... svn path=/trunk/; revision=4321 --- pd/portmidi/pm_mac/pmmacosxcm.c | 2 +- pd/portmidi/porttime/porttime.h | 6 +++--- pd/portmidi/porttime/ptmacosx_cf.c | 3 --- 3 files changed, 4 insertions(+), 7 deletions(-) (limited to 'pd/portmidi') 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; -- cgit v1.2.1