13
0

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
This commit is contained in:
Carl Hetherington 2011-08-29 15:56:05 +00:00
parent ad444c0955
commit 52e3e5bdc9

View File

@ -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);
}