diff options
author | David Robillard <d@drobilla.net> | 2015-11-14 18:47:19 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-01 07:03:17 -0400 |
commit | 92d75b64d9f4cf9ca9caf3e1a0d3ad9819eb5481 (patch) | |
tree | 4baa05b0038895b4ac76e75507ced06e65d40330 /src/server/InternalPlugin.cpp | |
parent | 604015aa65de7d84f177b53e578a8c9852d7893f (diff) | |
download | ingen-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.cpp | 8 |
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") { |