From 82e4573227ceb4fdde0bfcdbcf05045d3f0cee50 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 19 Jul 2011 13:45:39 +0000 Subject: [PATCH] tentative "fix" for output for tracks with audio and MIDI output (no known test case at present) git-svn-id: svn://localhost/ardour2/branches/3.0@9903 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/delivery.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index cf81207592..8e2119c0d2 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -291,6 +291,11 @@ Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pf _panshell->run (bufs, output_buffers(), start_frame, end_frame, nframes); + // MIDI data will not have been delivered by the panner + + if (bufs.count().n_midi() > 0 && ports.count().n_midi () > 0) { + _output->copy_to_outputs (bufs, DataType::MIDI, nframes, 0); + } } else {