summaryrefslogtreecommitdiff
path: root/libs/ardour/internal_send.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-07-12 12:22:43 +0000
committerCarl Hetherington <carl@carlh.net>2011-07-12 12:22:43 +0000
commit69d22d87b413792e634d445b9531aad15f604dab (patch)
tree56eabf45206752090d37ac3d3bcb66f321799f63 /libs/ardour/internal_send.cc
parent6ae03aa212845614ec296daf413b104ad61d3dd4 (diff)
Set mixbufs count in the case of a panner being used, as
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
Diffstat (limited to 'libs/ardour/internal_send.cc')
-rw-r--r--libs/ardour/internal_send.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc
index 36d484e7b0..d98203b818 100644
--- a/libs/ardour/internal_send.cc
+++ b/libs/ardour/internal_send.cc
@@ -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);