aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-06-19 22:13:40 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-06-19 22:21:58 +0200
commit6586740caacfb17210a26e9618c31c54ec0da703 (patch)
tree93cddc7d8cf81e9bdc1531ab87c794ee460fa568 /src/adlmidi_private.hpp
parent94470c7e544a8086b02aa12e7361b64bacb44ee6 (diff)
downloadlibADLMIDI-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.hpp2
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();
}
};