summaryrefslogtreecommitdiff
path: root/libs/ardour/delivery.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-07-08 17:06:29 +0000
committerCarl Hetherington <carl@carlh.net>2011-07-08 17:06:29 +0000
commit67ad5fe2b739116a27d1ccdc6a3dc4665615e92b (patch)
tree2d3bca8aacc75ce3d59b401a0bcad268a79815ab /libs/ardour/delivery.cc
parente796a46e5afa910c0906b9cf5e483b850b18b5a4 (diff)
Make sure the buffer count is updated properly when run() happens on a muted delivery. Fixes #4153.
git-svn-id: svn://localhost/ardour2/branches/3.0@9810 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r--libs/ardour/delivery.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc
index 231080a0ad..50b50a4dec 100644
--- a/libs/ardour/delivery.cc
+++ b/libs/ardour/delivery.cc
@@ -276,6 +276,7 @@ Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pf
_output->silence (nframes);
if (result_required) {
+ bufs.set_count (output_buffers().count ());
Amp::apply_simple_gain (bufs, nframes, 0.0);
}
goto out;