From 67ad5fe2b739116a27d1ccdc6a3dc4665615e92b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 8 Jul 2011 17:06:29 +0000 Subject: [PATCH] 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 --- libs/ardour/delivery.cc | 1 + 1 file changed, 1 insertion(+) 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;