diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-05-30 03:01:38 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-05-30 03:01:38 +0000 |
commit | 47729b52cb85e8a52bf2e6bbf8ee9a810ed331e1 (patch) | |
tree | b001d3f3bdf3539d928535e47a965c72f7044a26 /pd/portmidi_osx/porttime.h | |
parent | fcba84c01167d5be4e4ed70619fda85cb63804fe (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.h | 33 |
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 |