diff options
author | Robin Gareus <robin@gareus.org> | 2014-05-15 01:17:20 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-05-15 01:18:16 +0200 |
commit | 4c2f1489f481f841a6aee84a26bc779704a8a1f8 (patch) | |
tree | 66782683d0db266f5f96ec61e52929751a0d1887 /libs/ardour/audio_track.cc | |
parent | 16cbecf1934e92587d7b5b393a69f902f6f55c68 (diff) |
fix midi output on audio-tracks (e.g. audio->midi plugins)
Diffstat (limited to 'libs/ardour/audio_track.cc')
-rw-r--r-- | libs/ardour/audio_track.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc index 8e14fff402..94201882e7 100644 --- a/libs/ardour/audio_track.cc +++ b/libs/ardour/audio_track.cc @@ -369,6 +369,13 @@ AudioTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram process_output_buffers (bufs, start_frame, end_frame, nframes, declick, (!diskstream->record_enabled() && _session.transport_rolling())); + for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) { + boost::shared_ptr<Delivery> d = boost::dynamic_pointer_cast<Delivery> (*i); + if (d) { + d->flush_buffers (nframes); + } + } + need_butler = diskstream->commit (playback_distance); return 0; |