Browse Source

cmMidi.h : Changed cmMidiMsg to use a cmTimeSpec_t as a timestamp and removed the 'deltaUs' field.

master
kevin 11 years ago
parent
commit
b403c1a2bf
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      cmMidi.h

+ 2
- 1
cmMidi.h View File

100
 
100
 
101
   typedef struct 
101
   typedef struct 
102
   {
102
   {
103
-    unsigned     deltaUs; // time since last MIDI msg in microseconds
103
+    //unsigned     deltaUs; // time since last MIDI msg in microseconds
104
+    cmTimeSpec_t timeStamp;
104
     cmMidiByte_t status;  // midi status byte
105
     cmMidiByte_t status;  // midi status byte
105
     cmMidiByte_t d0;      // midi data byte 0
106
     cmMidiByte_t d0;      // midi data byte 0
106
     cmMidiByte_t d1;      // midi data byte 1
107
     cmMidiByte_t d1;      // midi data byte 1

Loading…
Cancel
Save