summaryrefslogtreecommitdiff
path: root/libs/ardour/internal_send.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-08-29 15:56:05 +0000
committerCarl Hetherington <carl@carlh.net>2011-08-29 15:56:05 +0000
commit52e3e5bdc9e1f6f4ae7c1c49a343636314425820 (patch)
tree767458b531b68a88d2842954c0777bc77730e220 /libs/ardour/internal_send.cc
parentad444c095530b09c8d6ad42c30d9637e42d36b3b (diff)
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
Diffstat (limited to 'libs/ardour/internal_send.cc')
-rw-r--r--libs/ardour/internal_send.cc3
1 files changed, 1 insertions, 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);
}