13
0

Remove unnecessary silencing of unused plugin inputs; unnecessary as (LADSPA/LV2 at least) connect_and_run routines pass in silent buffers for inputs that are not in the ChanMapping. The explicit silencing also failed if the plugin had more inputs than any processor on the route (fixes #4535).

git-svn-id: svn://localhost/ardour2/branches/3.0@10949 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-12-09 17:57:50 +00:00
parent 59526d29fd
commit 067b81d0bf

View File

@ -346,15 +346,6 @@ PluginInsert::connect_and_run (BufferSet& bufs, pframes_t nframes, framecnt_t of
}
}
if (_match.method == Hide) {
/* Silence the hidden input buffers */
for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
for (uint32_t i = in_streams.get(*t); i < (in_streams.get(*t) + _match.hide.get(*t)); ++i) {
bufs.get(*t, i).silence (nframes);
}
}
}
/* Note that we've already required that plugins
be able to handle in-place processing.
*/