diff options
author | David Robillard <d@drobilla.net> | 2007-09-21 00:46:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-21 00:46:21 +0000 |
commit | 2fd281a285e4b0bc31e0a0dc6f970359440612c8 (patch) | |
tree | b4537d5196d13608cacb32f4c96bdb24ff180b3d /src/libs/engine/MidiNoteNode.hpp | |
parent | c4faafc0d3b9c68d41706ad40edde1ecfb7f4338 (diff) | |
download | ingen-2fd281a285e4b0bc31e0a0dc6f970359440612c8.tar.gz ingen-2fd281a285e4b0bc31e0a0dc6f970359440612c8.tar.bz2 ingen-2fd281a285e4b0bc31e0a0dc6f970359440612c8.zip |
Somewhat functional dynamic polyphony (LV2 and internal nodes only).
git-svn-id: http://svn.drobilla.net/lad/ingen@744 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/MidiNoteNode.hpp')
-rw-r--r-- | src/libs/engine/MidiNoteNode.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/MidiNoteNode.hpp b/src/libs/engine/MidiNoteNode.hpp index 34a926ff..f2fbbf5d 100644 --- a/src/libs/engine/MidiNoteNode.hpp +++ b/src/libs/engine/MidiNoteNode.hpp @@ -59,7 +59,7 @@ private: struct Key { enum State { OFF, ON_ASSIGNED, ON_UNASSIGNED }; Key() : state(OFF), voice(0), time(0) {} - State state; size_t voice; SampleCount time; + State state; uint32_t voice; SampleCount time; }; /** Voice, one of these always exists for each voice */ @@ -70,7 +70,7 @@ private: }; float note_to_freq(int num); - void free_voice(size_t voice, FrameTime time, SampleCount nframes, FrameTime start, FrameTime end); + void free_voice(uint32_t voice, FrameTime time, SampleCount nframes, FrameTime start, FrameTime end); Raul::Array<Voice>* _voices; Raul::Array<Voice>* _prepared_voices; |