home *** CD-ROM | disk | FTP | other *** search
-
- #define MIDICLOCKNAME "MidiClock"
- #define mc_data(t) ((struct MidiClockData *)(t)->tc_UserData)
- #define mc_counter(m) ((m)->counter)
- #define mc_intrval(m) ((m)->intrvl)
-
- struct MidiClockData { /* where timer process writes its data */
- unsigned long counter;
- unsigned long intrvl;
- };
-
- struct mc_Msg { /* message structure for communicating with timer process */
- struct Message msg;
- unsigned long command, data;
- };
-