home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 242.lha / MidiFileRecorder / midiclock.h < prev    next >
C/C++ Source or Header  |  1989-04-04  |  423b  |  16 lines

  1.  
  2. #define MIDICLOCKNAME "MidiClock"
  3. #define mc_data(t)    ((struct MidiClockData *)(t)->tc_UserData)
  4. #define mc_counter(m) ((m)->counter)
  5. #define mc_intrval(m) ((m)->intrvl)
  6.  
  7. struct MidiClockData { /* where timer process writes its data */
  8.     unsigned long counter;
  9.     unsigned long intrvl;
  10.     };
  11.  
  12. struct mc_Msg { /* message structure for communicating with timer process */
  13.     struct Message msg;
  14.     unsigned long command, data;
  15.     };
  16.