tentative "fix" for output for tracks with audio and MIDI output (no known test case...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 19 Jul 2011 13:45:39 +0000 (13:45 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 19 Jul 2011 13:45:39 +0000 (13:45 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9903 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/delivery.cc

index cf81207592222d9572a97970bb11111b8399abe9..8e2119c0d2968a8ac1dd9f4494b64b6939b5f5ad 100644 (file)
@@ -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 {