From b64a6b658eae14b1dd1eba6113fa88f940fafc42 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 9 Jul 2016 13:51:52 +0200 Subject: handle internal-sends from audio to midi busses --- libs/ardour/internal_send.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/ardour/internal_send.cc') diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc index 6a21e2b5ac..67b0a06b79 100644 --- a/libs/ardour/internal_send.cc +++ b/libs/ardour/internal_send.cc @@ -144,7 +144,9 @@ InternalSend::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame // in-place, which a send must never do. if (_panshell && !_panshell->bypassed() && role() != Listen) { - _panshell->run (bufs, mixbufs, start_frame, end_frame, nframes); + if (mixbufs.count ().n_audio () > 0) { + _panshell->run (bufs, mixbufs, start_frame, end_frame, nframes); + } /* non-audio data will not have been copied by the panner, do it now * if there are more buffers available than send buffers, ignore them, -- cgit v1.2.3