summaryrefslogtreecommitdiffstats
path: root/src/bindings
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-03 04:46:56 +0000
committerDavid Robillard <d@drobilla.net>2010-02-03 04:46:56 +0000
commit87597f85c5a69a9accd3ce2ed88f2a006173e885 (patch)
treea3ffa393e9aecbc55dae64bad3bd45ee317e6d26 /src/bindings
parenta645d2b8be4d7d31f6eef1649156b166a01e0c31 (diff)
downloadingen-87597f85c5a69a9accd3ce2ed88f2a006173e885.tar.gz
ingen-87597f85c5a69a9accd3ce2ed88f2a006173e885.tar.bz2
ingen-87597f85c5a69a9accd3ce2ed88f2a006173e885.zip
Comprehensive use of cached URIs and more advanced Value (Atom) system.
Atoms (e.g. property values or port values) can now be an Atom::DICT, which maps directly to/from an RDF resource. This is now used to store control bindings as a port property, eliminating the special API. Full interned URIs used everywhere, instead of CURIEs pretending to be URIs. Avoid converting string literals to URIs all over the place. Support for binding MIDI pitch bender and MIDI channel pressure. Saving/restoring of MIDI bindings as a free side-effect of the above. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2409 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/Client.hpp1
-rwxr-xr-xsrc/bindings/test_ingen.py7
2 files changed, 1 insertions, 7 deletions
diff --git a/src/bindings/Client.hpp b/src/bindings/Client.hpp
index 956b51d4..fdb8d62c 100644
--- a/src/bindings/Client.hpp
+++ b/src/bindings/Client.hpp
@@ -26,5 +26,4 @@ public:
void set_property(const Raul::URI& subject, const Raul::URI& key, const Raul::Atom& value) {}
void set_voice_value(const Raul::Path& port_path, uint32_t voice, const Raul::Atom& value) {}
void activity(const Raul::Path& port_path) {}
- void binding(const Raul::Path& path, const MessageType& type) {}
};
diff --git a/src/bindings/test_ingen.py b/src/bindings/test_ingen.py
index c858e7df..921bdd1b 100755
--- a/src/bindings/test_ingen.py
+++ b/src/bindings/test_ingen.py
@@ -26,12 +26,7 @@ e.activate()
c.subscribe(e)
-e.create_port("/I", "ingen:midi", False)
-e.create_port("/made", "ingen:audio", False)
-e.create_port("/these", "ingen:audio", False)
-e.create_port("/in", "ingen:midi", True)
-e.create_port("/a", "ingen:audio", True)
-e.create_port("/script", "ingen:audio", True)
+e.create_port("/dynamic_port", "http://lv2plug.in/ns/ext/event#EventPort", False)
while True:
world.iteration()