summaryrefslogtreecommitdiffstats
path: root/src/engine/MidiTriggerNode.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-28 23:51:25 +0000
committerDavid Robillard <d@drobilla.net>2008-11-28 23:51:25 +0000
commit6b04f4fd3a84457eed53132ac42b6b8f44b289d6 (patch)
treee0844ab77b732f437a1100faf462d27fe86b7966 /src/engine/MidiTriggerNode.cpp
parent41f370378810f4d1d3b03db1730edbe21bb44397 (diff)
downloadingen-6b04f4fd3a84457eed53132ac42b6b8f44b289d6.tar.gz
ingen-6b04f4fd3a84457eed53132ac42b6b8f44b289d6.tar.bz2
ingen-6b04f4fd3a84457eed53132ac42b6b8f44b289d6.zip
Sane ontology for internaals.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1818 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/MidiTriggerNode.cpp')
-rw-r--r--src/engine/MidiTriggerNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/MidiTriggerNode.cpp b/src/engine/MidiTriggerNode.cpp
index 0212154a..3cde19e7 100644
--- a/src/engine/MidiTriggerNode.cpp
+++ b/src/engine/MidiTriggerNode.cpp
@@ -30,10 +30,10 @@ using namespace std;
namespace Ingen {
+static InternalPlugin trigger_plugin(NS_INTERNALS "Trigger", "trigger", "Trigger");
MidiTriggerNode::MidiTriggerNode(const string& path, bool polyphonic, PatchImpl* parent, SampleRate srate, size_t buffer_size)
- : NodeBase(new InternalPlugin(NS_INGEN "trigger_node", "trigger", "Trigger"),
- path, false, parent, srate, buffer_size)
+ : NodeBase(&trigger_plugin, path, false, parent, srate, buffer_size)
, _learning(false)
{
_ports = new Raul::Array<PortImpl*>(5);