diff options
Diffstat (limited to 'src/engine/events')
-rw-r--r-- | src/engine/events/RequestMetadata.cpp | 2 |
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 { |