aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2024-06-26 12:52:00 +0300
committerWohlstand <admin@wohlnet.ru>2024-06-26 12:52:00 +0300
commit68867c104834d65824f35cff9019549880ae6d5b (patch)
tree2f70802a7f41d23f8e27fc2800e1cb82ae499600 /src
parentb174fa2b13027318b164d9112e7754fc6301bdec (diff)
parent5cce67a4b4d59ff1c75697a64e25ac8f5625d87d (diff)
downloadlibADLMIDI-68867c104834d65824f35cff9019549880ae6d5b.tar.gz
libADLMIDI-68867c104834d65824f35cff9019549880ae6d5b.tar.bz2
libADLMIDI-68867c104834d65824f35cff9019549880ae6d5b.zip
Merge branch 'master' into wip-hw-serial
Diffstat (limited to 'src')
-rw-r--r--src/midi_sequencer.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/midi_sequencer.hpp b/src/midi_sequencer.hpp
index e6e9983..2c02fc9 100644
--- a/src/midi_sequencer.hpp
+++ b/src/midi_sequencer.hpp
@@ -457,6 +457,13 @@ private:
//! Current level on the loop stack (<0 - out of loop, 0++ - the index in the loop stack)
int stackLevel;
+ //! Constructor to initialize member variables
+ LoopState()
+ : caughtStart(false), caughtEnd(false), caughtStackStart(false),
+ caughtStackEnd(false), caughtStackBreak(false), skipStackStart(false),
+ invalidLoop(false), temporaryBroken(false), loopsCount(-1), loopsLeft(0),
+ stackLevel(-1)
+ {}
/**
* @brief Reset loop state to initial
*/