From bc46c6e5d44de56a8ef290484766a0f3bcfbed65 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 25 Apr 2006 20:21:15 +0000 Subject: [PATCH] remove unintentional addition of PortInsert::silence() git-svn-id: svn://localhost/trunk/ardour2@474 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/insert.h | 1 - libs/ardour/insert.cc | 14 -------------- 2 files changed, 15 deletions(-) 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) {