Browse Source

cmMidiOsx.c : Added comment on a possible problem with the time stamp

computation in _cmMpMIDISystemReadProc().
master
kevin 11 years ago
parent
commit
40a9f35e18
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      osx/cmMidiOsx.c

+ 3
- 0
osx/cmMidiOsx.c View File

513
     // 1000 times that for microSeconds:
513
     // 1000 times that for microSeconds:
514
     double microSecs = 1000.0f * nanoSeconds;
514
     double microSecs = 1000.0f * nanoSeconds;
515
 
515
 
516
+    // BUG BUG BUG: How can multiplying the nanoseconds produce microseconds?
517
+    // Shouldn't the nano to micro conversion be a divide?
518
+
516
     double deltaMicroSecs = microSecs - pp->prevMicroSecs;
519
     double deltaMicroSecs = microSecs - pp->prevMicroSecs;
517
 
520
 
518
     pp->prevMicroSecs = microSecs;
521
     pp->prevMicroSecs = microSecs;

Loading…
Cancel
Save