diff options
author | Wohlstand <admin@wohlnet.ru> | 2024-06-26 12:52:00 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2024-06-26 12:52:00 +0300 |
commit | 68867c104834d65824f35cff9019549880ae6d5b (patch) | |
tree | 2f70802a7f41d23f8e27fc2800e1cb82ae499600 /src | |
parent | b174fa2b13027318b164d9112e7754fc6301bdec (diff) | |
parent | 5cce67a4b4d59ff1c75697a64e25ac8f5625d87d (diff) | |
download | libADLMIDI-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.hpp | 7 |
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 */ |