summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-09 17:57:50 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-09 17:57:50 +0000
commit067b81d0bf890f744db87e6560a653e43f2c808f (patch)
tree4758aa484441277eb69bc27d4cda85e44ce0145b /libs
parent59526d29fd4e82df2fb297b3280d4d11d5a6f28a (diff)
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
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/plugin_insert.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc
index dd9e8d5dcf..1d8581af39 100644
--- a/libs/ardour/plugin_insert.cc
+++ b/libs/ardour/plugin_insert.cc
@@ -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.
*/