summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-11-15 03:17:26 +0000
committerDavid Robillard <d@drobilla.net>2009-11-15 03:17:26 +0000
commit597fa9212f27d2448c0cdd20fbf616928c662cc1 (patch)
treed761421a2a7eaa55761ebdf48b794ccf6489cb95 /src/engine/events
parent6ae2018e81e7e81e4906e62dc6224ad34298d9c2 (diff)
downloadingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.tar.gz
ingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.tar.bz2
ingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.zip
Better Parse plugin, working Print plugin.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2262 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r--src/engine/events/RequestMetadata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/events/RequestMetadata.cpp b/src/engine/events/RequestMetadata.cpp
index 06069f74..e6ba7f5d 100644
--- a/src/engine/events/RequestMetadata.cpp
+++ b/src/engine/events/RequestMetadata.cpp
@@ -96,7 +96,7 @@ RequestMetadata::execute(ProcessContext& context)
if (port) {
if (port->type() == DataType::CONTROL || port->type() == DataType::AUDIO)
_value = ((AudioBuffer*)port->buffer(0))->value_at(0); // TODO: offset
- else if (port->type() == DataType::OBJECT)
+ else if (port->type() == DataType::VALUE)
LV2Object::to_atom(context.engine().world(),
((ObjectBuffer*)port->buffer(0))->data(), _value);
} else {