diff options
author | David Robillard <d@drobilla.net> | 2010-05-04 04:22:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-05-04 04:22:46 +0000 |
commit | a377fe171dd248f9418634f5f23d10a9440fd920 (patch) | |
tree | af17a5315a8c697d67fa8dbcb7695770345dc202 /src/engine/events | |
parent | 5fcc724a4bcd9a8111a0a6d483e3d6dcbe97a2d5 (diff) | |
download | ingen-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')
-rw-r--r-- | src/engine/events/RequestMetadata.cpp | 2 | ||||
-rw-r--r-- | src/engine/events/SetPortValue.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/events/RequestMetadata.cpp b/src/engine/events/RequestMetadata.cpp index 5efc7072..850ecc3d 100644 --- a/src/engine/events/RequestMetadata.cpp +++ b/src/engine/events/RequestMetadata.cpp @@ -101,7 +101,7 @@ RequestMetadata::execute(ProcessContext& context) } else { IntrusivePtr<ObjectBuffer> obuf = PtrCast<ObjectBuffer>(port->buffer(0)); if (obuf) { - LV2Object::to_atom(*_engine.world()->uris().get(), obuf->object(), _value); + LV2Object::to_atom(*_engine.world()->uris().get(), obuf->atom(), _value); } } } else { 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; |