From 105ecfa4649fe41e2a48ce2a6bae5c38f9a45f63 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 28 Feb 2015 05:49:16 +0100 Subject: [PATCH] fix routing midi data on export: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MidiPort::cycle_end() was never called, hence after the first cycle all midi buffers were assumed to be “mixed down” already. this fixes Midi-track 1 -[midi]-> Midi-track2 synth -[audio]-> out on export. --- libs/ardour/audioengine.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 71b0fabea0..e8633c70b0 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -333,10 +333,12 @@ AudioEngine::process_callback (pframes_t nframes) } if (_freewheeling) { + PortManager::cycle_end (nframes); return 0; } if (!_running) { + PortManager::cycle_end (nframes); _processed_frames = next_processed_frames; return 0; }