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
This commit is contained in:
Carl Hetherington 2011-07-08 17:06:29 +00:00
parent e796a46e5a
commit 67ad5fe2b7

View 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;