summaryrefslogtreecommitdiffstats
path: root/src/engine/events
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/engine/events
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/engine/events')
-rw-r--r--src/engine/events/RequestMetadata.cpp2
-rw-r--r--src/engine/events/SendPortValue.cpp2
-rw-r--r--src/engine/events/SetPortValue.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/events/RequestMetadata.cpp b/src/engine/events/RequestMetadata.cpp
index f51651fc..c773ae3d 100644
--- a/src/engine/events/RequestMetadata.cpp
+++ b/src/engine/events/RequestMetadata.cpp
@@ -113,7 +113,7 @@ RequestMetadata::post_process()
if (_special_type == PORT_VALUE) {
if (_resource) {
_responder->respond_ok();
- _responder->client()->set_port_value(_uri.str(), _value);
+ _responder->client()->set_property(_uri.str(), "ingen:value", _value);
} else {
const string msg = "Get value for non-port " + _uri.str();
_responder->respond_error(msg);
diff --git a/src/engine/events/SendPortValue.cpp b/src/engine/events/SendPortValue.cpp
index 1052033b..52592d81 100644
--- a/src/engine/events/SendPortValue.cpp
+++ b/src/engine/events/SendPortValue.cpp
@@ -31,7 +31,7 @@ void
SendPortValue::post_process()
{
if (_omni) {
- _engine.broadcaster()->set_port_value(_port->path(), _value);
+ _engine.broadcaster()->set_property(_port->path(), "ingen:value", _value);
} else {
_engine.broadcaster()->set_voice_value(_port->path(), _voice_num, _value);
}
diff --git a/src/engine/events/SetPortValue.cpp b/src/engine/events/SetPortValue.cpp
index 6c87ef94..f1abc720 100644
--- a/src/engine/events/SetPortValue.cpp
+++ b/src/engine/events/SetPortValue.cpp
@@ -231,7 +231,7 @@ SetPortValue::post_process()
assert(_port != NULL);
_responder->respond_ok();
if (_omni)
- _engine.broadcaster()->set_port_value(_port_path, _value);
+ _engine.broadcaster()->set_property(_port_path, "ingen:value", _value);
else
_engine.broadcaster()->set_voice_value(_port_path, _voice_num, _value);
break;
@@ -246,7 +246,7 @@ SetPortValue::post_process()
break;
case PORT_NOT_FOUND:
msg = "Unable to find port ";
- msg.append(_port_path.str()).append(" for set_port_value");
+ msg.append(_port_path.str()).append(" to set value");
_responder->respond_error(msg);
break;
case NO_SPACE: