summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/MidiTriggerNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/MidiTriggerNode.h')
-rw-r--r--src/libs/engine/MidiTriggerNode.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/engine/MidiTriggerNode.h b/src/libs/engine/MidiTriggerNode.h
index 6c3d8f57..14b586de 100644
--- a/src/libs/engine/MidiTriggerNode.h
+++ b/src/libs/engine/MidiTriggerNode.h
@@ -43,19 +43,19 @@ template <typename T> class OutputPort;
class MidiTriggerNode : public InternalNode
{
public:
- MidiTriggerNode(const string& path, size_t poly, Patch* parent, samplerate srate, size_t buffer_size);
+ MidiTriggerNode(const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size);
- void process(samplecount nframes);
+ void process(SampleCount nframes);
- void note_on(uchar note_num, uchar velocity, samplecount offset);
- void note_off(uchar note_num, samplecount offset);
+ void note_on(uchar note_num, uchar velocity, SampleCount offset);
+ void note_off(uchar note_num, SampleCount offset);
private:
InputPort<MidiMessage>* _midi_in_port;
- InputPort<sample>* _note_port;
- OutputPort<sample>* _gate_port;
- OutputPort<sample>* _trig_port;
- OutputPort<sample>* _vel_port;
+ InputPort<Sample>* _note_port;
+ OutputPort<Sample>* _gate_port;
+ OutputPort<Sample>* _trig_port;
+ OutputPort<Sample>* _vel_port;
};