13
0

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.
This commit is contained in:
Robin Gareus 2015-02-28 05:49:16 +01:00
parent 60bb5986e2
commit 105ecfa464

View File

@ -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;
}