diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-06-19 22:13:40 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-06-19 22:21:58 +0200 |
commit | 6586740caacfb17210a26e9618c31c54ec0da703 (patch) | |
tree | 93cddc7d8cf81e9bdc1531ab87c794ee460fa568 /src/adlmidi_private.hpp | |
parent | 94470c7e544a8086b02aa12e7361b64bacb44ee6 (diff) | |
download | libADLMIDI-6586740caacfb17210a26e9618c31c54ec0da703.tar.gz libADLMIDI-6586740caacfb17210a26e9618c31c54ec0da703.tar.bz2 libADLMIDI-6586740caacfb17210a26e9618c31c54ec0da703.zip |
avoid portamento work when no notes have it on channel
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r-- | src/adlmidi_private.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 7aad63b..fda629d 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -610,6 +610,7 @@ public: } }; char ____padding2[5]; + unsigned gliding_note_count; NoteInfo activenotes[128]; struct activenoteiterator @@ -740,6 +741,7 @@ public: MIDIchannel() { activenotes_clear(); + gliding_note_count = 0; reset(); } }; |