aboutsummaryrefslogtreecommitdiff
path: root/pd/portmidi_osx/porttime.h
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2005-05-30 03:01:38 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2005-05-30 03:01:38 +0000
commit47729b52cb85e8a52bf2e6bbf8ee9a810ed331e1 (patch)
treeb001d3f3bdf3539d928535e47a965c72f7044a26 /pd/portmidi_osx/porttime.h
parentfcba84c01167d5be4e4ed70619fda85cb63804fe (diff)
Add new portmidi and update portaudio. CHanges to makefile.nt and various
sources. Checking that I'm in sync with "help" file changes. I ended up deleting help files in extra and recreating them under the new names. svn path=/trunk/; revision=3091
Diffstat (limited to 'pd/portmidi_osx/porttime.h')
-rw-r--r--pd/portmidi_osx/porttime.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/pd/portmidi_osx/porttime.h b/pd/portmidi_osx/porttime.h
deleted file mode 100644
index fb57fe7d..00000000
--- a/pd/portmidi_osx/porttime.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* porttime.h -- portable interface to millisecond timer
- *
- * 27Jun02 XJS - altered type of Pt_Time() (in porttime.h & portmidi.c) so it matches PmTimeProcPtr
- */
-
-/* Should there be a way to choose the source of time here? */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-typedef enum {
- ptNoError = 0,
- ptHostError = -10000,
- ptAlreadyStarted,
- ptAlreadyStopped
-} PtError;
-
-
-typedef long PtTimestamp;
-
-typedef int (PtCallback)( PtTimestamp timestamp, void *userData );
-
-
-PtError Pt_Start(int resolution, PtCallback *callback, void *userData);
-PtError Pt_Stop(void); // xjs, added void
-int Pt_Started(void); // xjs, added void
-PtTimestamp Pt_Time(void *time_info); /* xjs - added void *time_info so this f() is a PmTimeProcPtr, defined in portmidi.h */
-
-#ifdef __cplusplus
-}
-#endif