diff options
Diffstat (limited to 'src/engine/Buffer.cpp')
-rw-r--r-- | src/engine/Buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Buffer.cpp b/src/engine/Buffer.cpp index 4b66b63f..15752846 100644 --- a/src/engine/Buffer.cpp +++ b/src/engine/Buffer.cpp @@ -35,7 +35,7 @@ Buffer::create(Engine& engine, Shared::PortType type, size_t size) return new AudioBuffer(type, size); else if (type.is_events()) return new EventBuffer(size); - else if (type.is_value()) + else if (type.is_value() || type.is_message()) return new ObjectBuffer(std::max(size, sizeof(LV2_Object) + sizeof(void*))); else |