diff options
author | David Robillard <d@drobilla.net> | 2008-12-16 08:45:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-16 08:45:46 +0000 |
commit | 69f9735ca83e3827565276479f590d51c4a6ebfb (patch) | |
tree | ea6e68216c53ee432fdab5ababe62388bf3b16d2 /src/engine/InternalNote.hpp | |
parent | d27b9f2972200b87cca6146d65c71803a656a8ea (diff) | |
download | ingen-69f9735ca83e3827565276479f590d51c4a6ebfb.tar.gz ingen-69f9735ca83e3827565276479f590d51c4a6ebfb.tar.bz2 ingen-69f9735ca83e3827565276479f590d51c4a6ebfb.zip |
Trim include dependency tree.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1870 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/InternalNote.hpp')
-rw-r--r-- | src/engine/InternalNote.hpp | 6 |
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); |