diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-12-31 02:56:03 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-12-31 02:56:03 +0000 |
commit | 1498e89f88d0a090a59ceb4cf19daf9d9c8963c5 (patch) | |
tree | aa55d35b172127c54557f3de5185f4a7a9c3e5fc /pd/portmidi/porttime | |
parent | 69ef7d95089796981976c7855d6eba5d40da6232 (diff) |
re-synced with my own source tree...
svn path=/trunk/; revision=4321
Diffstat (limited to 'pd/portmidi/porttime')
-rw-r--r-- | pd/portmidi/porttime/porttime.h | 6 | ||||
-rw-r--r-- | pd/portmidi/porttime/ptmacosx_cf.c | 3 |
2 files changed, 3 insertions, 6 deletions
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;
|