summaryrefslogtreecommitdiffstats
path: root/src/client/PluginUI.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-02 01:22:20 +0000
committerDavid Robillard <d@drobilla.net>2010-02-02 01:22:20 +0000
commitc1ac1f31457708db618143f54a3dfef7eb3361aa (patch)
tree88c91e75f4a90cf6efab9ab6f8219d53dd5b892f /src/client/PluginUI.cpp
parent6e8877ee110b774caef800adbe35b21338b3372f (diff)
downloadingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.tar.gz
ingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.tar.bz2
ingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.zip
Remove set_port_value from CommonInterface (replaced with set_property(path, "ingen:value", value)).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2404 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PluginUI.cpp')
-rw-r--r--src/client/PluginUI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index f9882be1..4c8016fd 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -64,7 +64,7 @@ lv2_ui_write(LV2UI_Controller controller,
if (*(float*)buffer == port->value().get_float())
return; // do nothing (handle stupid plugin UIs that feed back)
- ui->world()->engine->set_port_value(port->path(), Atom(*(float*)buffer));
+ ui->world()->engine->set_property(port->path(), "ingen:value", Atom(*(float*)buffer));
} else if (format == map->ui_format_events) {
LV2_Event_Buffer* buf = (LV2_Event_Buffer*)buffer;
@@ -75,7 +75,7 @@ lv2_ui_write(LV2UI_Controller controller,
LV2_Event* const ev = lv2_event_get(&iter, &data);
if (ev->type == map->midi_event) {
// FIXME: bundle multiple events by writing an entire buffer here
- ui->world()->engine->set_port_value(port->path(),
+ ui->world()->engine->set_property(port->path(), "ingen:value",
Atom("lv2midi:MidiEvent", ev->size, data));
} else {
warn << "Unable to send event type " << ev->type <<
@@ -89,7 +89,7 @@ lv2_ui_write(LV2UI_Controller controller,
LV2_Object* buf = (LV2_Object*)buffer;
Raul::Atom val;
Shared::LV2Object::to_atom(ui->world(), buf, val);
- ui->world()->engine->set_port_value(port->path(), val);
+ ui->world()->engine->set_property(port->path(), "ingen:value", val);
} else {
warn << "Unknown value format " << format