Add debug information for coreMIDI events
This commit is contained in:
parent
56c5db9115
commit
9b65be0e17
@ -298,6 +298,11 @@ CoreMidiIo::recv_event (uint32_t port, double cycle_time_us, uint64_t &time, uin
|
||||
}
|
||||
_input_queue[port].erase(it);
|
||||
return s;
|
||||
} else {
|
||||
#ifndef NDEBUG
|
||||
uint64_t dt = AudioConvertHostTimeToNanos((*it)->timeStamp - end);
|
||||
printf("Ignored future Midi Event. dt:%.2fms\n", dt * 1e-6);
|
||||
#endif
|
||||
}
|
||||
++it;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user