summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/MidiNoteNode.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-08 06:04:32 +0000
committerDavid Robillard <d@drobilla.net>2007-04-08 06:04:32 +0000
commite96c36c1a7abb062e36efc0ac95c35fedcef922e (patch)
tree826d5caa0392201472d12c02a1c3df4cf7b275be /src/libs/engine/MidiNoteNode.h
parent7d69e89f22304e37fa325ce4f39a374a02072a69 (diff)
downloadingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.gz
ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.bz2
ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.zip
De-template-ification of port types (req. for LV2 MIDI, but nice code size reduction).
LV2 MIDI patching support (LV2 style MIDI throughout, inc. internal plugins). git-svn-id: http://svn.drobilla.net/lad/ingen@415 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/MidiNoteNode.h')
-rw-r--r--src/libs/engine/MidiNoteNode.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/engine/MidiNoteNode.h b/src/libs/engine/MidiNoteNode.h
index a4f22c7f..5be62995 100644
--- a/src/libs/engine/MidiNoteNode.h
+++ b/src/libs/engine/MidiNoteNode.h
@@ -21,14 +21,14 @@
#include <string>
#include "InternalNode.h"
#include "types.h"
+#include "MidiBuffer.h"
using std::string;
namespace Ingen {
-class MidiMessage;
-template <typename T> class InputPort;
-template <typename T> class OutputPort;
+class InputPort;
+class OutputPort;
/** MIDI note input node.
@@ -74,11 +74,11 @@ private:
Key _keys[128];
bool _sustain; ///< Whether or not hold pedal is depressed
- InputPort<MidiMessage>* _midi_in_port;
- OutputPort<Sample>* _freq_port;
- OutputPort<Sample>* _vel_port;
- OutputPort<Sample>* _gate_port;
- OutputPort<Sample>* _trig_port;
+ InputPort* _midi_in_port;
+ OutputPort* _freq_port;
+ OutputPort* _vel_port;
+ OutputPort* _gate_port;
+ OutputPort* _trig_port;
};