diff options
author | David Robillard <d@drobilla.net> | 2014-01-18 06:21:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-18 06:21:31 +0000 |
commit | 59492c673f5de893e8b91ca50a945a697ddfa404 (patch) | |
tree | ffbb4589f76bd4c740017e7465d286af89549156 /src/server/events/Delta.cpp | |
parent | bc64c953d7504c0c3986f2bea9a739cd99f0dd15 (diff) | |
download | ingen-59492c673f5de893e8b91ca50a945a697ddfa404.tar.gz ingen-59492c673f5de893e8b91ca50a945a697ddfa404.tar.bz2 ingen-59492c673f5de893e8b91ca50a945a697ddfa404.zip |
Consolidate URIs.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5316 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events/Delta.cpp')
-rw-r--r-- | src/server/events/Delta.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index d551335f..91db7b21 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -151,7 +151,7 @@ Delta::pre_process() for (const auto& r : _remove) { const Raul::URI& key = r.first; const Atom& value = r.second; - if (key == uris.ingen_controlBinding && value == uris.wildcard) { + if (key == uris.midi_binding && value == uris.patch_wildcard) { PortImpl* port = dynamic_cast<PortImpl*>(_object); if (port) _old_bindings = _engine.control_bindings()->remove(port); @@ -167,7 +167,7 @@ Delta::pre_process() SpecialType op = SpecialType::NONE; if (obj) { Resource& resource = *obj; - if (value != uris.wildcard) { + if (value != uris.patch_wildcard) { resource.add_property(key, value, value.context()); } @@ -185,9 +185,9 @@ Delta::pre_process() _engine, _request_client, _request_id, _time, port, value); ev->pre_process(); _set_events.push_back(ev); - } else if (key == uris.ingen_controlBinding) { + } else if (key == uris.midi_binding) { if (port->is_a(PortType::CONTROL) || port->is_a(PortType::CV)) { - if (value == uris.wildcard) { + if (value == uris.patch_wildcard) { _engine.control_bindings()->learn(port); } else if (value.type() == uris.atom_Blank) { op = SpecialType::CONTROL_BINDING; @@ -199,7 +199,7 @@ Delta::pre_process() } } } else if ((block = dynamic_cast<BlockImpl*>(_object))) { - if (key == uris.ingen_controlBinding && value == uris.wildcard) { + if (key == uris.midi_binding && value == uris.patch_wildcard) { op = SpecialType::CONTROL_BINDING; // Internal block learn } } |