diff options
Diffstat (limited to 'src/engine/Engine.cpp')
-rw-r--r-- | src/engine/Engine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp index 5da8ca56..4d697b5e 100644 --- a/src/engine/Engine.cpp +++ b/src/engine/Engine.cpp @@ -190,6 +190,9 @@ Engine::activate(size_t parallelism) if (!root_patch) { root_patch = new PatchImpl(*this, "", 1, NULL, _audio_driver->sample_rate(), _audio_driver->buffer_size(), 1); + root_patch->add_property("rdf:type", Raul::Atom(Raul::Atom::URI, "ingen:Patch")); + root_patch->add_property("rdf:type", Raul::Atom(Raul::Atom::URI, "ingen:Node")); + root_patch->set_property("ingen:polyphony", Raul::Atom(int32_t(1))); root_patch->activate(); _world->store->add(root_patch); root_patch->compiled_patch(root_patch->compile()); |