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
This commit is contained in:
Paul Davis 2011-07-19 13:45:39 +00:00
parent 57cb31ea6e
commit 82e4573227

View 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 {