Make sure the buffer count is updated properly when run() happens on a muted delivery...
authorCarl Hetherington <carl@carlh.net>
Fri, 8 Jul 2011 17:06:29 +0000 (17:06 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 8 Jul 2011 17:06:29 +0000 (17:06 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9810 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/delivery.cc

index 231080a0ad51f04c64f151ca09ddde72b5f81208..50b50a4decf983d7ad6fd2751d08cb2a3003bd38 100644 (file)
@@ -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;