diff options
Diffstat (limited to 'src/engine/LADSPAPlugin.cpp')
-rw-r--r-- | src/engine/LADSPAPlugin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/LADSPAPlugin.cpp b/src/engine/LADSPAPlugin.cpp index 9d8c3b63..94ff36d2 100644 --- a/src/engine/LADSPAPlugin.cpp +++ b/src/engine/LADSPAPlugin.cpp @@ -67,8 +67,7 @@ LADSPAPlugin::instantiate(BufferFactory& bufs, { assert(_id != 0); - SampleCount srate = engine.driver()->sample_rate(); - SampleCount buffer_size = engine.driver()->buffer_size(); + const SampleCount srate = engine.driver()->sample_rate(); union { void* dp; @@ -97,7 +96,7 @@ LADSPAPlugin::instantiate(BufferFactory& bufs, } if (descriptor != NULL) { - n = new LADSPANode(this, name, polyphonic, parent, descriptor, srate, buffer_size); + n = new LADSPANode(this, name, polyphonic, parent, descriptor, srate); if ( ! n->instantiate(bufs) ) { delete n; |