diff options
Diffstat (limited to 'src/server/Engine.cpp')
-rw-r--r-- | src/server/Engine.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index 2e7a942a..755e0d65 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -16,6 +16,8 @@ #include <sys/mman.h> +#include "lv2/lv2plug.in/ns/ext/buf-size/buf-size.h" + #include "events/CreatePort.hpp" #include "ingen/Configuration.hpp" #include "ingen/Log.hpp" @@ -77,6 +79,15 @@ Engine::Engine(Ingen::World* world) _world->lv2_features().add_feature(_worker->schedule_feature()); _world->lv2_features().add_feature(_options); + _world->lv2_features().add_feature( + SPtr<LV2Features::Feature>( + new LV2Features::EmptyFeature(LV2_BUF_SIZE__powerOf2BlockLength))); + _world->lv2_features().add_feature( + SPtr<LV2Features::Feature>( + new LV2Features::EmptyFeature(LV2_BUF_SIZE__fixedBlockLength))); + _world->lv2_features().add_feature( + SPtr<LV2Features::Feature>( + new LV2Features::EmptyFeature(LV2_BUF_SIZE__boundedBlockLength))); } Engine::~Engine() |