From 7c31e558a55650060826e76becff4c83e948bcab Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 23 Mar 2025 16:56:40 +0100 Subject: [PATCH] Fix duplicate MIDI Clock messages Notably during realtime export an explicit flush of async MIDI ports will duplicate port buffer content. AsyncMIDIPort::cycle_end () calls `flush_output_fifo`, and `flush_buffers` is called from PortManager::cycle_end. --- libs/ardour/ticker.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/ardour/ticker.cc b/libs/ardour/ticker.cc index c2d27ee44e..029337e9df 100644 --- a/libs/ardour/ticker.cc +++ b/libs/ardour/ticker.cc @@ -211,7 +211,6 @@ MidiClockTicker::tick (samplepos_t start_sample, samplepos_t end_sample, pframes _transport_pos = end_sample; out: - _midi_port->flush_buffers (n_samples); _midi_port->cycle_end (n_samples); }