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:
parent
ad444c0955
commit
52e3e5bdc9
@ -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
|
// we have to copy the input, because we may alter the buffers with the amp
|
||||||
// in-place, which a send must never do.
|
// in-place, which a send must never do.
|
||||||
|
|
||||||
assert(mixbufs.available() >= bufs.count());
|
|
||||||
|
|
||||||
if (_panshell && !_panshell->bypassed()) {
|
if (_panshell && !_panshell->bypassed()) {
|
||||||
_panshell->run (bufs, mixbufs, start_frame, end_frame, nframes);
|
_panshell->run (bufs, mixbufs, start_frame, end_frame, nframes);
|
||||||
} else {
|
} else {
|
||||||
|
assert (mixbufs.available() >= bufs.count());
|
||||||
mixbufs.read_from (bufs, nframes);
|
mixbufs.read_from (bufs, nframes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user