From 52e3e5bdc9e1f6f4ae7c1c49a343636314425820 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 29 Aug 2011 15:56:05 +0000 Subject: [PATCH] Move what I'm pretty sure is a misplaced assert; a panner can copy from more to fewer buffers. git-svn-id: svn://localhost/ardour2/branches/3.0@10027 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/internal_send.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc index fcf8635f72..d8bc1ccd98 100644 --- a/libs/ardour/internal_send.cc +++ b/libs/ardour/internal_send.cc @@ -113,11 +113,10 @@ InternalSend::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame // we have to copy the input, because we may alter the buffers with the amp // in-place, which a send must never do. - assert(mixbufs.available() >= bufs.count()); - if (_panshell && !_panshell->bypassed()) { _panshell->run (bufs, mixbufs, start_frame, end_frame, nframes); } else { + assert (mixbufs.available() >= bufs.count()); mixbufs.read_from (bufs, nframes); }