diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-09 13:51:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-09 13:51:52 +0200 |
commit | b64a6b658eae14b1dd1eba6113fa88f940fafc42 (patch) | |
tree | 1ec132a1fbbabbf13fc37f68d26494b2295bb78e /libs/ardour/internal_send.cc | |
parent | 20e216afcc184e1006357e51dbdc371fa4cd8d5f (diff) |
handle internal-sends from audio to midi busses
Diffstat (limited to 'libs/ardour/internal_send.cc')
-rw-r--r-- | libs/ardour/internal_send.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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, |