diff options
Diffstat (limited to 'src/libs/engine/InternalPlugin.cpp')
-rw-r--r-- | src/libs/engine/InternalPlugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/InternalPlugin.cpp b/src/libs/engine/InternalPlugin.cpp index a068123d..9141b545 100644 --- a/src/libs/engine/InternalPlugin.cpp +++ b/src/libs/engine/InternalPlugin.cpp @@ -49,13 +49,13 @@ InternalPlugin::instantiate(const string& name, { assert(_type == Internal); - if (_uri == "ingen:note_node") { + if (_uri == NS_INGEN "note_node") { return new MidiNoteNode(name, polyphonic, parent, srate, buffer_size); - } else if (_uri == "ingen:trigger_node") { + } else if (_uri == NS_INGEN "trigger_node") { return new MidiTriggerNode(name, polyphonic, parent, srate, buffer_size); - } else if (_uri == "ingen:control_node") { + } else if (_uri == NS_INGEN "control_node") { return new MidiControlNode(name, polyphonic, parent, srate, buffer_size); - } else if (_uri == "ingen:transport_node") { + } else if (_uri == NS_INGEN "transport_node") { return new TransportNode(name, polyphonic, parent, srate, buffer_size); } else { return NULL; |