summaryrefslogtreecommitdiffstats
path: root/src/engine/MidiNoteNode.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/MidiNoteNode.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/MidiNoteNode.cpp')
-rw-r--r--src/engine/MidiNoteNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/MidiNoteNode.cpp b/src/engine/MidiNoteNode.cpp
index 7918e1d2..53f0a0b0 100644
--- a/src/engine/MidiNoteNode.cpp
+++ b/src/engine/MidiNoteNode.cpp
@@ -35,10 +35,10 @@ using namespace std;
namespace Ingen {
+static InternalPlugin note_plugin(NS_INTERNALS "Note", "note", "Note");
MidiNoteNode::MidiNoteNode(const string& path, bool polyphonic, PatchImpl* parent, SampleRate srate, size_t buffer_size)
- : NodeBase(new InternalPlugin(NS_INGEN "note_node", "note", "Note"),
- path, polyphonic, parent, srate, buffer_size)
+ : NodeBase(&note_plugin, path, polyphonic, parent, srate, buffer_size)
, _voices(new Raul::Array<Voice>(_polyphony))
, _prepared_voices(NULL)
, _sustain(false)