summaryrefslogtreecommitdiffstats
path: root/src/engine/events/SetPortValue.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-05-04 04:22:46 +0000
committerDavid Robillard <d@drobilla.net>2010-05-04 04:22:46 +0000
commita377fe171dd248f9418634f5f23d10a9440fd920 (patch)
treeaf17a5315a8c697d67fa8dbcb7695770345dc202 /src/engine/events/SetPortValue.cpp
parent5fcc724a4bcd9a8111a0a6d483e3d6dcbe97a2d5 (diff)
downloadingen-a377fe171dd248f9418634f5f23d10a9440fd920.tar.gz
ingen-a377fe171dd248f9418634f5f23d10a9440fd920.tar.bz2
ingen-a377fe171dd248f9418634f5f23d10a9440fd920.zip
Rename "object" extension "atom" extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2561 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events/SetPortValue.cpp')
-rw-r--r--src/engine/events/SetPortValue.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/events/SetPortValue.cpp b/src/engine/events/SetPortValue.cpp
index 1a41938d..6488fd6c 100644
--- a/src/engine/events/SetPortValue.cpp
+++ b/src/engine/events/SetPortValue.cpp
@@ -175,10 +175,10 @@ SetPortValue::apply(Context& context)
ObjectBuffer* const obuf = dynamic_cast<ObjectBuffer*>(buf);
if (obuf) {
- obuf->object()->size = obuf->size() - sizeof(LV2_Object);
- if (LV2Object::from_atom(uris, _value, obuf->object())) {
- debug << "Converted atom " << _value << " :: " << obuf->object()->type
- << " * " << obuf->object()->size << " @ " << obuf->object() << endl;
+ obuf->atom()->size = obuf->size() - sizeof(LV2_Atom);
+ if (LV2Object::from_atom(uris, _value, obuf->atom())) {
+ debug << "Converted atom " << _value << " :: " << obuf->atom()->type
+ << " * " << obuf->atom()->size << " @ " << obuf->atom() << endl;
return;
} else {
warn << "Failed to convert atom to LV2 object" << endl;