cmMidiOsx.c : Added comment on a possible problem with the time stamp
computation in _cmMpMIDISystemReadProc().
This commit is contained in:
parent
4c44c396fd
commit
40a9f35e18
@ -513,6 +513,9 @@ void _cmMpMIDISystemReadProc( const MIDIPacketList *pktListPtr, void* readProcRe
|
|||||||
// 1000 times that for microSeconds:
|
// 1000 times that for microSeconds:
|
||||||
double microSecs = 1000.0f * nanoSeconds;
|
double microSecs = 1000.0f * nanoSeconds;
|
||||||
|
|
||||||
|
// BUG BUG BUG: How can multiplying the nanoseconds produce microseconds?
|
||||||
|
// Shouldn't the nano to micro conversion be a divide?
|
||||||
|
|
||||||
double deltaMicroSecs = microSecs - pp->prevMicroSecs;
|
double deltaMicroSecs = microSecs - pp->prevMicroSecs;
|
||||||
|
|
||||||
pp->prevMicroSecs = microSecs;
|
pp->prevMicroSecs = microSecs;
|
||||||
|
Loading…
Reference in New Issue
Block a user