Skip to content

Commit ccd2b91

Browse files
committed
Try fixing Windows MIDI latency
1 parent 71d3703 commit ccd2b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Utility/MidiDeviceManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class MidiDeviceManager final : public ChangeListener
288288
if (!outputPort.buffer.isEmpty()) {
289289
for (auto* device : outputPort.devices) {
290290
if (device->isBackgroundThreadRunning()) {
291-
device->sendBlockOfMessages (outputPort.buffer, Time::getMillisecondCounterHiRes(), currentSampleRate);
291+
device->sendBlockOfMessages (outputPort.buffer, Time::getMillisecondCounter(), currentSampleRate);
292292
}
293293
else {
294294
device->sendBlockOfMessagesNow (outputPort.buffer);

0 commit comments

Comments
 (0)