diff options
author | David Robillard <d@drobilla.net> | 2007-09-23 02:03:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-23 02:03:41 +0000 |
commit | d1ba04724f0bfbed18690316dbe5eb977a131733 (patch) | |
tree | 76ce5146a916ff4a497f88a7c4c3e99c64f4fca6 /src/libs/serialisation | |
parent | c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9 (diff) | |
download | ingen-d1ba04724f0bfbed18690316dbe5eb977a131733.tar.gz ingen-d1ba04724f0bfbed18690316dbe5eb977a131733.tar.bz2 ingen-d1ba04724f0bfbed18690316dbe5eb977a131733.zip |
Working LV2 UI control setting (including MIDI).
Klaviatur (ll-plugins virtual keyboard) is now fully functional inside Ingen.
git-svn-id: http://svn.drobilla.net/lad/ingen@766 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/serialisation')
-rw-r--r-- | src/libs/serialisation/Loader.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/serialisation/Loader.cpp b/src/libs/serialisation/Loader.cpp index ec60225d..a911eb72 100644 --- a/src/libs/serialisation/Loader.cpp +++ b/src/libs/serialisation/Loader.cpp @@ -205,7 +205,7 @@ Loader::load(SharedPtr<EngineInterface> engine, const Path port_path = patch_path.base() + node_name +"/"+ port_name; - engine->set_port_value(port_path, sizeof(float), &val); + engine->set_port_value(port_path, "ingen:control", sizeof(float), &val); } @@ -242,9 +242,10 @@ Loader::load(SharedPtr<EngineInterface> engine, RDF::Node val_node = (*i)["portval"]; if (val_node.is_float()) { const float val = val_node.to_float(); - engine->set_port_value(patch_path.base() + name, sizeof(float), &val); + engine->set_port_value(patch_path.base() + name, "ingen:control", sizeof(float), &val); } + string floatkey = rdf_world->qualify((*i)["floatkey"].to_string()); val_node = (*i)["floatval"]; |