diff options
author | Robin Gareus <robin@gareus.org> | 2015-02-28 05:49:16 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-02-28 05:49:16 +0100 |
commit | 105ecfa4649fe41e2a48ce2a6bae5c38f9a45f63 (patch) | |
tree | 6968805ed4cae0e66b72eb142bd8f3456ddc289b /libs/ardour | |
parent | 60bb5986e2c705434d7f6e319332efe2a0be7c30 (diff) |
fix routing midi data on export:
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.
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/audioengine.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |