summaryrefslogtreecommitdiff
path: root/libs/ardour/io_processor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-07-15 20:29:02 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-07-15 20:29:02 +0000
commit939cff515018f9a5123e90a182dec56efdd7c508 (patch)
tree0be961b669f04052d69b804b9b47d6c26745c104 /libs/ardour/io_processor.cc
parent49445140345fd4e57a833d3803e529c0c07d221c (diff)
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
Diffstat (limited to 'libs/ardour/io_processor.cc')
-rw-r--r--libs/ardour/io_processor.cc12
1 files changed, 12 insertions, 0 deletions
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<Route> other) const
{
return _output && _output->connected_to (other->input());
}
+
+void
+IOProcessor::disconnect ()
+{
+ if (_input) {
+ _input->disconnect (this);
+ }
+
+ if (_output) {
+ _output->disconnect (this);
+ }
+}