summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r--src/libs/engine/events/CreateNodeEvent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/engine/events/CreateNodeEvent.cpp b/src/libs/engine/events/CreateNodeEvent.cpp
index a3681597..b58bc2c3 100644
--- a/src/libs/engine/events/CreateNodeEvent.cpp
+++ b/src/libs/engine/events/CreateNodeEvent.cpp
@@ -87,8 +87,7 @@ CreateNodeEvent::pre_process()
if (_patch && plugin) {
- _node = plugin->instantiate(_path.name(), _polyphonic, _patch,
- _engine.audio_driver()->sample_rate(), _engine.audio_driver()->buffer_size());
+ _node = plugin->instantiate(_path.name(), _polyphonic, _patch, _engine);
if (_node != NULL) {
_node->activate();