summaryrefslogtreecommitdiff
path: root/libs/ardour/delivery.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-07-19 13:45:39 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-07-19 13:45:39 +0000
commit82e4573227ceb4fdde0bfcdbcf05045d3f0cee50 (patch)
tree11ee1e98741de35ced12a0592fe8a23c4315c1e9 /libs/ardour/delivery.cc
parent57cb31ea6e79779ae571d02dd1fd8fa27f591c0c (diff)
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
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r--libs/ardour/delivery.cc5
1 files changed, 5 insertions, 0 deletions
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 {