浏览代码

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

computation in _cmMpMIDISystemReadProc().
master
kevin 11 年前
父节点
当前提交
40a9f35e18
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      osx/cmMidiOsx.c

+ 3
- 0
osx/cmMidiOsx.c 查看文件

@@ -513,6 +513,9 @@ void _cmMpMIDISystemReadProc( const MIDIPacketList *pktListPtr, void* readProcRe
513 513
     // 1000 times that for microSeconds:
514 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 519
     double deltaMicroSecs = microSecs - pp->prevMicroSecs;
517 520
 
518 521
     pp->prevMicroSecs = microSecs;

正在加载...
取消
保存