Set mixbufs count in the case of a panner being used, as
authorCarl Hetherington <carl@carlh.net>
Tue, 12 Jul 2011 12:22:43 +0000 (12:22 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 12 Jul 2011 12:22:43 +0000 (12:22 +0000)
 happens in read_from when no panner is being used.
 Should fix #4158.

git-svn-id: svn://localhost/ardour2/branches/3.0@9845 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/internal_send.cc

index 36d484e7b02cacbd2c652486cc1cf2782a9cf7b3..d98203b818eed41a77fed85b3ab883d654dc4ea4 100644 (file)
@@ -116,6 +116,7 @@ InternalSend::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame
        }
        
        if (panner && !panner->bypassed()) {
+               mixbufs.set_count (bufs.count ());
                _panshell->run (bufs, mixbufs, start_frame, end_frame, nframes);
        } else {
                mixbufs.read_from (bufs, nframes);