diff options
Diffstat (limited to 'libs/ardour/midi_port.cc')
-rw-r--r-- | libs/ardour/midi_port.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/midi_port.cc b/libs/ardour/midi_port.cc index d22673fe72..7eed2ef468 100644 --- a/libs/ardour/midi_port.cc +++ b/libs/ardour/midi_port.cc @@ -308,6 +308,9 @@ MidiPort::flush_buffers (pframes_t nframes) } #endif + // XXX consider removing this check for optimized builds + // and just send 'em all, at cycle_end + // see AudioEngine::split_cycle (), PortManager::cycle_end() if ( ev.time() >= _global_port_buffer_offset && ev.time() < _global_port_buffer_offset + nframes) { pframes_t tme = floor (ev.time() / _speed_ratio); |