summaryrefslogtreecommitdiffstats
path: root/src/server/InternalPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/InternalPlugin.cpp')
-rw-r--r--src/server/InternalPlugin.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/server/InternalPlugin.cpp b/src/server/InternalPlugin.cpp
index 47129c99..384ece0f 100644
--- a/src/server/InternalPlugin.cpp
+++ b/src/server/InternalPlugin.cpp
@@ -29,8 +29,6 @@
namespace ingen {
namespace server {
-using namespace internals;
-
InternalPlugin::InternalPlugin(URIs& uris,
const URI& uri,
const Raul::Symbol& symbol)
@@ -51,15 +49,20 @@ InternalPlugin::instantiate(BufferFactory& bufs,
const SampleCount srate = engine.sample_rate();
if (uri() == NS_INTERNALS "BlockDelay") {
- return new BlockDelayNode(this, bufs, symbol, polyphonic, parent, srate);
+ return new internals::BlockDelayNode(
+ this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Controller") {
- return new ControllerNode(this, bufs, symbol, polyphonic, parent, srate);
+ return new internals::ControllerNode(
+ this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Note") {
- return new NoteNode(this, bufs, symbol, polyphonic, parent, srate);
+ return new internals::NoteNode(
+ this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Time") {
- return new TimeNode(this, bufs, symbol, polyphonic, parent, srate);
+ return new internals::TimeNode(
+ this, bufs, symbol, polyphonic, parent, srate);
} else if (uri() == NS_INTERNALS "Trigger") {
- return new TriggerNode(this, bufs, symbol, polyphonic, parent, srate);
+ return new internals::TriggerNode(
+ this, bufs, symbol, polyphonic, parent, srate);
} else {
return nullptr;
}