|
| #define | NewMIDIReadHookUPP(userRoutine) |
| |
| #define | NewMIDITimeUPP(userRoutine) |
| |
| #define | NewMIDIConnectionUPP(userRoutine) |
| |
| #define | NewMDVRCommUPP(userRoutine) |
| |
| #define | NewMDVRTimeCodeUPP(userRoutine) |
| |
| #define | NewMDVRReadUPP(userRoutine) |
| |
|
#define | DisposeMIDIReadHookUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeMIDITimeUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeMIDIConnectionUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeMDVRCommUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeMDVRTimeCodeUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeMDVRReadUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
| #define | InvokeMIDIReadHookUPP(myPacket, myRefCon, userUPP) |
| |
|
#define | InvokeMIDITimeUPP(curTime, myRefCon, userUPP) CALL_TWO_PARAMETER_UPP((userUPP), uppMIDITimeProcInfo, (curTime), (myRefCon)) |
| |
| #define | InvokeMIDIConnectionUPP(refnum, refcon, portType, clientID, portID, connect, direction, userUPP) |
| |
| #define | InvokeMDVRCommUPP(refnum, request, refCon, userUPP) |
| |
| #define | InvokeMDVRTimeCodeUPP(refnum, newFormat, refCon, userUPP) |
| |
| #define | InvokeMDVRReadUPP(midiChars, length, refCon, userUPP) |
| |
| #define | NewMIDIReadHookProc(userRoutine) NewMIDIReadHookUPP(userRoutine) |
| |
|
#define | NewMIDITimeProc(userRoutine) NewMIDITimeUPP(userRoutine) |
| |
|
#define | NewMIDIConnectionProc(userRoutine) NewMIDIConnectionUPP(userRoutine) |
| |
|
#define | NewMDVRCommProc(userRoutine) NewMDVRCommUPP(userRoutine) |
| |
|
#define | NewMDVRTimeCodeProc(userRoutine) NewMDVRTimeCodeUPP(userRoutine) |
| |
|
#define | NewMDVRReadProc(userRoutine) NewMDVRReadUPP(userRoutine) |
| |
|
#define | CallMIDIReadHookProc(userRoutine, myPacket, myRefCon) InvokeMIDIReadHookUPP(myPacket, myRefCon, userRoutine) |
| |
|
#define | CallMIDITimeProc(userRoutine, curTime, myRefCon) InvokeMIDITimeUPP(curTime, myRefCon, userRoutine) |
| |
| #define | CallMIDIConnectionProc(userRoutine, refnum, refcon, portType, clientID, portID, connect, direction) |
| |
|
#define | CallMDVRCommProc(userRoutine, refnum, request, refCon) InvokeMDVRCommUPP(refnum, request, refCon, userRoutine) |
| |
|
#define | CallMDVRTimeCodeProc(userRoutine, refnum, newFormat, refCon) InvokeMDVRTimeCodeUPP(refnum, newFormat, refCon, userRoutine) |
| |
|
#define | CallMDVRReadProc(userRoutine, midiChars, length, refCon) InvokeMDVRReadUPP(midiChars, length, refCon, userRoutine) |
| |
|
| enum | { midiMaxNameLen = 31
} |
| |
| enum | {
midiFormatMSec = 0
, midiFormatBeats = 1
, midiFormat24fpsBit = 2
, midiFormat25fpsBit = 3
,
midiFormat30fpsDBit = 4
, midiFormat30fpsBit = 5
, midiFormat24fpsQF = 6
, midiFormat25fpsQF = 7
,
midiFormat30fpsDQF = 8
, midiFormat30fpsQF = 9
} |
| |
| enum | { midiInternalSync = 0
, midiExternalSync = 1
} |
| |
| enum | {
midiPortTypeTime = 0
, midiPortTypeInput = 1
, midiPortTypeOutput = 2
, midiPortTypeTimeInv = 3
,
midiPortInvisible
, midiPortTypeMask = 0x0007
} |
| |
| enum | { midiGetEverything
, midiGetNothing
, midiGetCurrent = 0x00000000
} |
| |
| enum | {
midiContMask = 0x03
, midiNoCont = 0x00
, midiStartCont = 0x01
, midiMidCont = 0x03
,
midiEndCont = 0x02
, midiTypeMask = 0x70
, midiMsgType = 0x00
, midiMgrType = 0x10
,
midiTimeStampMask = 0x80
, midiTimeStampCurrent = 0x80
, midiTimeStampValid = 0x00
} |
| |
| enum | { midiOverflowErr = 0x0001
, midiSCCErr = 0x0002
, midiPacketErr
, midiMaxErr = 0x00FF
} |
| |
| enum | { midiKeepPacket = 0
, midiMorePacket = 1
, midiNoMorePacket = 2
, midiHoldPacket = 3
} |
| |
| enum | { midiOpenDriver = 1
, midiCloseDriver = 2
} |
| |
| enum | { mdvrAbortNotesOff = 0
, mdvrChanNotesOff = 1
, mdvrAllNotesOff = 2
} |
| |
| enum | { mdvrStopOut = 0
, mdvrStartOut = 1
} |
| |
| enum | { uppMIDIReadHookProcInfo = 0x000003E0
} |
| |
| enum | { uppMIDITimeProcInfo = 0x000003C0
} |
| |
| enum | { uppMIDIConnectionProcInfo = 0x0009FB80
} |
| |
| enum | { uppMDVRCommProcInfo = 0x00000EB0
} |
| |
| enum | { uppMDVRTimeCodeProcInfo = 0x00000E80
} |
| |
| enum | { uppMDVRReadProcInfo = 0x00000EC0
} |
| |
|
|
typedef | CALLBACK_API (short, MIDIReadHookProcPtr)(MIDIPacketPtr myPacket |
| |
|
typedef | CALLBACK_API (void, MIDITimeProcPtr)(long curTime |
| |
|
typedef | CALLBACK_API (void, MIDIConnectionProcPtr)(short refnum |
| |
|
typedef | CALLBACK_API (long, MDVRCommProcPtr)(short refnum |
| |
|
typedef | CALLBACK_API (void, MDVRTimeCodeProcPtr)(short refnum |
| |
|
typedef | CALLBACK_API (void, MDVRReadProcPtr)(char *midiChars |
| |
|
typedef | STACK_UPP_TYPE (MIDIReadHookProcPtr) MIDIReadHookUPP |
| |
|
typedef | STACK_UPP_TYPE (MIDITimeProcPtr) MIDITimeUPP |
| |
|
typedef | STACK_UPP_TYPE (MIDIConnectionProcPtr) MIDIConnectionUPP |
| |
|
typedef | STACK_UPP_TYPE (MDVRCommProcPtr) MDVRCommUPP |
| |
|
typedef | STACK_UPP_TYPE (MDVRTimeCodeProcPtr) MDVRTimeCodeUPP |
| |
|
typedef | STACK_UPP_TYPE (MDVRReadProcPtr) MDVRReadUPP |
| |
| NumVersion | MIDIVersion (void) |
| |
| OSErr | MIDISignIn (OSType clientID, long refCon, Handle icon, ConstStr255Param name) |
| |
| void | MIDISignOut (OSType clientID) |
| |
| MIDIIDListHandle | MIDIGetClients (void) |
| |
| void | MIDIGetClientName (OSType clientID, Str255 name) |
| |
| void | MIDISetClientName (OSType clientID, ConstStr255Param name) |
| |
| MIDIIDListHandle | MIDIGetPorts (OSType clientID) |
| |
| OSErr | MIDIAddPort (OSType clientID, short BufSize, short *refnum, MIDIPortParamsPtr init) |
| |
| MIDIPortInfoHandle | MIDIGetPortInfo (OSType clientID, OSType portID) |
| |
| OSErr | MIDIConnectData (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID) |
| |
| OSErr | MIDIUnConnectData (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID) |
| |
| OSErr | MIDIConnectTime (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID) |
| |
| OSErr | MIDIUnConnectTime (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID) |
| |
| void | MIDIFlush (short refnum) |
| |
| ProcPtr | MIDIGetReadHook (short refnum) |
| |
| void | MIDISetReadHook (short refnum, ProcPtr hook) |
| |
| void | MIDIGetPortName (OSType clientID, OSType portID, Str255 name) |
| |
| void | MIDISetPortName (OSType clientID, OSType portID, ConstStr255Param name) |
| |
| void | MIDIWakeUp (short refnum, long time, long period, MIDITimeUPP timeProc) |
| |
| void | MIDIRemovePort (short refnum) |
| |
| short | MIDIGetSync (short refnum) |
| |
| void | MIDISetSync (short refnum, short sync) |
| |
| long | MIDIGetCurTime (short refnum) |
| |
| void | MIDISetCurTime (short refnum, long time) |
| |
| void | MIDIStartTime (short refnum) |
| |
| void | MIDIStopTime (short refnum) |
| |
| void | MIDIPoll (short refnum, long offsetTime) |
| |
| OSErr | MIDIWritePacket (short refnum, MIDIPacketPtr packet) |
| |
| Boolean | MIDIWorldChanged (OSType clientID) |
| |
| long | MIDIGetOffsetTime (short refnum) |
| |
| void | MIDISetOffsetTime (short refnum, long offsetTime) |
| |
| long | MIDIConvertTime (short srcFormat, short dstFormat, long time) |
| |
| long | MIDIGetRefCon (short refnum) |
| |
| void | MIDISetRefCon (short refnum, long refCon) |
| |
| long | MIDIGetClRefCon (OSType clientID) |
| |
| void | MIDISetClRefCon (OSType clientID, long refCon) |
| |
| short | MIDIGetTCFormat (short refnum) |
| |
| void | MIDISetTCFormat (short refnum, short format) |
| |
| void | MIDISetRunRate (short refnum, short rate, long time) |
| |
| Handle | MIDIGetClientIcon (OSType clientID) |
| |
| ProcPtr | MIDICallAddress (short callNum) |
| |
| void | MIDISetConnectionProc (short refNum, ProcPtr connectionProc, long refCon) |
| |
| void | MIDIGetConnectionProc (short refnum, ProcPtr *connectionProc, long *refCon) |
| |
| void | MIDIDiscardPacket (short refnum, MIDIPacketPtr packet) |
| |
| OSErr | MDVRSignIn (OSType clientID, long refCon, Handle icon, Str255 name) |
| |
| void | MDVRSignOut (OSType clientID) |
| |
| MDVRPtr | MDVROpen (short portType, short refnum) |
| |
| void | MDVRClose (MDVRPtr driverPtr) |
| |
| void | MDVRControlIn (MDVRPtr portPtr, MDVRInCtlPtr inputCtl) |
| |
| void | MDVRControlOut (MDVRPtr portPtr, MDVROutCtlPtr outputCtl) |
| |
| void | MDVRIn (MDVRPtr portPtr) |
| |
| void | MDVROut (MDVRPtr portPtr, char *dataPtr, short length) |
| |
| void | MDVRNotesOff (MDVRPtr portPtr, short mode) |
| |
| MIDIReadHookUPP | NewMIDIReadHookUPP (MIDIReadHookProcPtr userRoutine) |
| |
| MIDITimeUPP | NewMIDITimeUPP (MIDITimeProcPtr userRoutine) |
| |
| MIDIConnectionUPP | NewMIDIConnectionUPP (MIDIConnectionProcPtr userRoutine) |
| |
| MDVRCommUPP | NewMDVRCommUPP (MDVRCommProcPtr userRoutine) |
| |
| MDVRTimeCodeUPP | NewMDVRTimeCodeUPP (MDVRTimeCodeProcPtr userRoutine) |
| |
| MDVRReadUPP | NewMDVRReadUPP (MDVRReadProcPtr userRoutine) |
| |
| void | DisposeMIDIReadHookUPP (MIDIReadHookUPP userUPP) |
| |
| void | DisposeMIDITimeUPP (MIDITimeUPP userUPP) |
| |
| void | DisposeMIDIConnectionUPP (MIDIConnectionUPP userUPP) |
| |
| void | DisposeMDVRCommUPP (MDVRCommUPP userUPP) |
| |
| void | DisposeMDVRTimeCodeUPP (MDVRTimeCodeUPP userUPP) |
| |
| void | DisposeMDVRReadUPP (MDVRReadUPP userUPP) |
| |
| short | InvokeMIDIReadHookUPP (MIDIPacketPtr myPacket, long myRefCon, MIDIReadHookUPP userUPP) |
| |
| void | InvokeMIDITimeUPP (long curTime, long myRefCon, MIDITimeUPP userUPP) |
| |
| void | InvokeMIDIConnectionUPP (short refnum, long refcon, short portType, OSType clientID, OSType portID, Boolean connect, short direction, MIDIConnectionUPP userUPP) |
| |
| long | InvokeMDVRCommUPP (short refnum, short request, long refCon, MDVRCommUPP userUPP) |
| |
| void | InvokeMDVRTimeCodeUPP (short refnum, short newFormat, long refCon, MDVRTimeCodeUPP userUPP) |
| |
| void | InvokeMDVRReadUPP (char *midiChars, short length, long refCon, MDVRReadUPP userUPP) |
| |
MIDI Manager Interfaces.
- Introduced In: System 7.5
- Avaliable From: Universal Interfaces 3.4.1
- Copyright: © 1988-2001 by Apple Computer, Inc., all rights reserved
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/