diff options
Diffstat (limited to 'src/engine/events/SetMetadata.cpp')
-rw-r--r-- | src/engine/events/SetMetadata.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/events/SetMetadata.cpp b/src/engine/events/SetMetadata.cpp index fefc7835..4de74eac 100644 --- a/src/engine/events/SetMetadata.cpp +++ b/src/engine/events/SetMetadata.cpp @@ -26,6 +26,7 @@ #include "CreateNode.hpp" #include "CreatePatch.hpp" #include "CreatePort.hpp" +#include "Driver.hpp" #include "Engine.hpp" #include "EngineStore.hpp" #include "GraphObjectImpl.hpp" @@ -312,7 +313,8 @@ SetMetadata::execute(ProcessContext& context) break; case POLYPHONY: if (_patch->internal_poly() != static_cast<uint32_t>(value.get_int32()) && - !_patch->apply_internal_poly(*_engine.buffer_factory(), + !_patch->apply_internal_poly(_engine.driver()->context(), + *_engine.buffer_factory(), *_engine.maid(), value.get_int32())) { _error = INTERNAL; } |