From 939cff515018f9a5123e90a182dec56efdd7c508 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 15 Jul 2009 20:29:02 +0000 Subject: more hacking on the processor list and processor box - note that ctrl-x/c/v now work "as expected" and / is a keystroke for toggling active state. cut-n-paste ops should all basically work git-svn-id: svn://localhost/ardour2/branches/3.0@5366 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/io_processor.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libs/ardour/io_processor.cc') diff --git a/libs/ardour/io_processor.cc b/libs/ardour/io_processor.cc index 87d679bbac..ebffd31028 100644 --- a/libs/ardour/io_processor.cc +++ b/libs/ardour/io_processor.cc @@ -265,3 +265,15 @@ IOProcessor::feeds (boost::shared_ptr other) const { return _output && _output->connected_to (other->input()); } + +void +IOProcessor::disconnect () +{ + if (_input) { + _input->disconnect (this); + } + + if (_output) { + _output->disconnect (this); + } +} -- cgit v1.2.3