summaryrefslogtreecommitdiffstats
path: root/src/engine/InternalNote.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/InternalNote.hpp')
-rw-r--r--src/engine/InternalNote.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/InternalNote.hpp b/src/engine/InternalNote.hpp
index a6aa2807..9e441a65 100644
--- a/src/engine/InternalNote.hpp
+++ b/src/engine/InternalNote.hpp
@@ -45,8 +45,8 @@ public:
void process(ProcessContext& context);
- void note_on(ProcessContext& context, uchar note_num, uchar velocity, FrameTime time);
- void note_off(ProcessContext& context, uchar note_num, FrameTime time);
+ void note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity, FrameTime time);
+ void note_off(ProcessContext& context, uint8_t note_num, FrameTime time);
void all_notes_off(ProcessContext& context, FrameTime time);
void sustain_on(ProcessContext& context, FrameTime time);
@@ -64,7 +64,7 @@ private:
struct Voice {
enum State { FREE, ACTIVE, HOLDING };
Voice() : state(FREE), note(0) {}
- State state; uchar note; SampleCount time;
+ State state; uint8_t note; SampleCount time;
};
float note_to_freq(int num);