diff options
author | David Robillard <d@drobilla.net> | 2007-04-08 08:11:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-08 08:11:59 +0000 |
commit | b59584b387c4b77d09ba4c791eb711597f67c8c8 (patch) | |
tree | cef114efdfc9807124b243c09547cfb9f6004a48 /src/libs/engine/Patch.cpp | |
parent | e96c36c1a7abb062e36efc0ac95c35fedcef922e (diff) | |
download | ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.tar.gz ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.tar.bz2 ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.zip |
MIDI patching fixes (clean disconnecting).
git-svn-id: http://svn.drobilla.net/lad/ingen@416 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Patch.cpp')
-rw-r--r-- | src/libs/engine/Patch.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/libs/engine/Patch.cpp b/src/libs/engine/Patch.cpp index a2b5a85f..ad414642 100644 --- a/src/libs/engine/Patch.cpp +++ b/src/libs/engine/Patch.cpp @@ -98,15 +98,10 @@ Patch::deactivate() void Patch::disable() { - // Write output buffers to 0 - /*for (Raul::List<InternalNode*>::iterator i = _bridge_nodes.begin(); i != _bridge_nodes.end(); ++i) { - assert((*i)->as_port() != NULL); - if ((*i)->as_port()->port_info()->is_output()) - (*i)->as_port()->clear_buffers();*/ + _process = false; + for (Raul::List<Port*>::iterator i = _output_ports.begin(); i != _output_ports.end(); ++i) (*i)->clear_buffers(); - - _process = false; } |