/* ------ ext_oms.h MAX-specific OMS stuff ------------ */ #pragma options align=mac68k typedef struct { Boolean enabled; /* is port enabled? */ Boolean portType; /* 0 = OMS, 1 = MM input, 2 = MM output */ char tempAbbrev; char tempEnabled; struct symbol *abbrev; /* a-z */ struct symbol *fullName; /* symbolized device name */ OMSNodeInfoRec node; /* node record */ short chanOffset; /* first MIDI channel */ short mmRefNum; /* MIDI Manager refNum */ short temp; /* temporary first MIDI channel */ short filler; } OMSMaxPort; typedef struct { short numPorts; short omsPorts; OMSMaxPort info[]; } OMSMaxPortList; #pragma options align=reset #define MaxOMSType 0 #define MaxMMInputType 1 #define MaxMMOutputType 2