diff --git a/libs/ardour/ardour/insert.h b/libs/ardour/ardour/insert.h index 1696e03cd1..803e16497d 100644 --- a/libs/ardour/ardour/insert.h +++ b/libs/ardour/ardour/insert.h @@ -75,7 +75,6 @@ class PortInsert : public Insert void init (); void run (vector& bufs, uint32_t nbufs, jack_nframes_t nframes, jack_nframes_t offset); - void silence (jack_nframes_t nframes, jack_nframes_t offset); jack_nframes_t latency(); diff --git a/libs/ardour/insert.cc b/libs/ardour/insert.cc index 285185fcac..2c74bdc1c0 100644 --- a/libs/ardour/insert.cc +++ b/libs/ardour/insert.cc @@ -876,20 +876,6 @@ PortInsert::~PortInsert () GoingAway (this); } -void -PortInsert::silence (jack_nframes_t nframes, jack_nframes_t offset) -{ - /* io_lock, not taken: function must be called from Session::process() calltree */ - - /* this silences our outputs, but we need to silence our inputs as well */ - - for (vector::iterator i = _outputs.begin(); i != _outputs.end(); ++i) { - (*i)->silence (nframes, offset); - } - - // IO::silence (nframes, offset); -} - void PortInsert::run (vector& bufs, uint32_t nbufs, jack_nframes_t nframes, jack_nframes_t offset) {