From 6586740caacfb17210a26e9618c31c54ec0da703 Mon Sep 17 00:00:00 2001 From: JP Cimalando Date: Tue, 19 Jun 2018 22:13:40 +0200 Subject: avoid portamento work when no notes have it on channel --- src/adlmidi_private.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/adlmidi_private.hpp') 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(); } }; -- cgit v1.2.3