From 4c2f1489f481f841a6aee84a26bc779704a8a1f8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 15 May 2014 01:17:20 +0200 Subject: fix midi output on audio-tracks (e.g. audio->midi plugins) --- libs/ardour/audio_track.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs/ardour/audio_track.cc') 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 d = boost::dynamic_pointer_cast (*i); + if (d) { + d->flush_buffers (nframes); + } + } + need_butler = diskstream->commit (playback_distance); return 0; -- cgit v1.2.3