diff options
author | David Robillard <d@drobilla.net> | 2012-05-23 17:21:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-23 17:21:42 +0000 |
commit | fbcb066fe22ae036e9535a84c5bebbe0d110fdac (patch) | |
tree | 250b574771bbb2e5d5fa4128a9c5f19cc7587a55 /src/server/events | |
parent | e3fd49d281eb4926bb3b2929b5ac198800e6a8f1 (diff) | |
download | ingen-fbcb066fe22ae036e9535a84c5bebbe0d110fdac.tar.gz ingen-fbcb066fe22ae036e9535a84c5bebbe0d110fdac.tar.bz2 ingen-fbcb066fe22ae036e9535a84c5bebbe0d110fdac.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4449 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Delete.cpp | 9 | ||||
-rw-r--r-- | src/server/events/SetPortValue.cpp | 15 | ||||
-rw-r--r-- | src/server/events/SetPortValue.hpp | 8 |
3 files changed, 0 insertions, 32 deletions
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp index 5e7dd20e..6c322059 100644 --- a/src/server/events/Delete.cpp +++ b/src/server/events/Delete.cpp @@ -94,15 +94,7 @@ Delete::pre_process() _disconnect_event->pre_process(); if (_node->parent_patch()->enabled()) { - // FIXME: is this called multiple times? _compiled_patch = _node->parent_patch()->compile(); -#ifndef NDEBUG - // Be sure node is removed from process order, so it can be deleted - for (size_t i=0; i < _compiled_patch->size(); ++i) { - assert(_compiled_patch->at(i).node() != _node.get()); - // FIXME: check providers/dependants too - } -#endif } } } else if (_port) { @@ -115,7 +107,6 @@ Delete::pre_process() _disconnect_event->pre_process(); if (_port->parent_patch()->enabled()) { - // FIXME: is this called multiple times? _compiled_patch = _port->parent_patch()->compile(); _ports_array = _port->parent_patch()->build_ports_array(); assert(_ports_array->size() == _port->parent_patch()->num_ports_non_rt()); diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp index 9eb57d55..f01f1966 100644 --- a/src/server/events/SetPortValue.cpp +++ b/src/server/events/SetPortValue.cpp @@ -35,21 +35,6 @@ namespace Ingen { namespace Server { namespace Events { -SetPortValue::SetPortValue(Engine& engine, - Interface* client, - int32_t id, - bool queued, - SampleCount timestamp, - const Raul::Path& port_path, - const Raul::Atom& value) - : Event(engine, client, id, timestamp) - , _queued(queued) - , _port_path(port_path) - , _value(value) - , _port(NULL) -{ -} - /** Internal */ SetPortValue::SetPortValue(Engine& engine, Interface* client, diff --git a/src/server/events/SetPortValue.hpp b/src/server/events/SetPortValue.hpp index 4d97ee99..cdda9d99 100644 --- a/src/server/events/SetPortValue.hpp +++ b/src/server/events/SetPortValue.hpp @@ -45,14 +45,6 @@ public: SetPortValue(Engine& engine, Interface* client, int32_t id, - bool queued, - SampleCount timestamp, - const Raul::Path& port_path, - const Raul::Atom& value); - - SetPortValue(Engine& engine, - Interface* client, - int32_t id, SampleCount timestamp, PortImpl* port, const Raul::Atom& value); |