summaryrefslogtreecommitdiffstats
path: root/src/server/InternalPlugin.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-11-14 18:47:19 -0500
committerDavid Robillard <d@drobilla.net>2016-10-01 07:03:17 -0400
commit92d75b64d9f4cf9ca9caf3e1a0d3ad9819eb5481 (patch)
tree4baa05b0038895b4ac76e75507ced06e65d40330 /src/server/InternalPlugin.cpp
parent604015aa65de7d84f177b53e578a8c9852d7893f (diff)
downloadingen-92d75b64d9f4cf9ca9caf3e1a0d3ad9819eb5481.tar.gz
ingen-92d75b64d9f4cf9ca9caf3e1a0d3ad9819eb5481.tar.bz2
ingen-92d75b64d9f4cf9ca9caf3e1a0d3ad9819eb5481.zip
Replace Delay internal with simpler BlockDelay
Diffstat (limited to 'src/server/InternalPlugin.cpp')
-rw-r--r--src/server/InternalPlugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/InternalPlugin.cpp b/src/server/InternalPlugin.cpp
index 075bc67d..3d065fe3 100644
--- a/src/server/InternalPlugin.cpp
+++ b/src/server/InternalPlugin.cpp
@@ -16,7 +16,7 @@
#include "ingen/URIs.hpp"
#include "internals/Controller.hpp"
-#include "internals/Delay.hpp"
+#include "internals/BlockDelay.hpp"
#include "internals/Note.hpp"
#include "internals/Time.hpp"
#include "internals/Trigger.hpp"
@@ -50,10 +50,10 @@ InternalPlugin::instantiate(BufferFactory& bufs,
{
const SampleCount srate = engine.driver()->sample_rate();
- if (uri() == NS_INTERNALS "Controller") {
+ if (uri() == NS_INTERNALS "BlockDelay") {
+ return new BlockDelayNode(this, bufs, symbol, polyphonic, parent, srate);
+ } else if (uri() == NS_INTERNALS "Controller") {
return new ControllerNode(this, bufs, symbol, polyphonic, parent, srate);
- } else if (uri() == NS_INTERNALS "Delay") {
- return new DelayNode(this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Note") {
return new NoteNode(this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Time") {