00001 /* 00002 $Id: MidiPrivate.h 2323 2002-09-25 17:38:10Z leighsmith $ 00003 Defined In: The MusicKit 00004 00005 Description: 00006 Methods that never see the light of day. 00007 00008 Original Author: David A. Jaffe 00009 00010 Copyright (c) 1988-1992, NeXT Computer, Inc. 00011 Portions Copyright (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT 00012 Portions Copyright (c) 1994 CCRMA, Stanford University 00013 Portions Copyright (c) 1999-2000, The MusicKit Project. 00014 */ 00015 /* 00016 $Log$ 00017 Revision 1.4 2002/09/25 17:38:09 leighsmith 00018 Made setupMTC and tearDownMTC methods rather than functions to avoid warnings of private ivar use 00019 00020 Revision 1.3 2000/11/13 23:26:25 leigh 00021 Better documentation of _MK_MIDI_QUANTUM 00022 00023 Revision 1.2 1999/07/29 01:25:53 leigh 00024 Added Win32 compatibility, CVS logs, SBs changes 00025 00026 */ 00027 #ifndef __MK__Midi_H___ 00028 #define __MK__Midi_H___ 00029 00030 #import "MKMidi.h" 00031 00032 #define _MK_MIDI_QUANTUM 1000 /* clock quantum ticks per 1 ms */ 00033 #define _MK_MIDI_QUANTUM_PERIOD ((double)(1.0/((double)_MK_MIDI_QUANTUM))) 00034 00035 @interface MKMidi(Private) 00036 00037 - _alarm: (double) requestedTime; 00038 - _setSynchConductor: aCond; 00039 + (BOOL) _disableThreadChange; 00040 - _setMTCOffset: (double) offset; 00041 - (double) _time; 00042 - (BOOL) tearDownMTC; 00043 - (BOOL) setUpMTC; 00044 00045 @end 00046 00047 00048 #endif