Remove unnecessary silencing of unused plugin inputs; unnecessary as (LADSPA/LV2...
authorCarl Hetherington <carl@carlh.net>
Fri, 9 Dec 2011 17:57:50 +0000 (17:57 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 9 Dec 2011 17:57:50 +0000 (17:57 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10949 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/plugin_insert.cc

index dd9e8d5dcfab1b3458e4439fadb06f24c3aa0b2f..1d8581af3937b97a56a0bad3c89cb37289d8b517 100644 (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.
        */