aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-11-01 02:28:25 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-11-01 02:28:25 +0300
commit62dba3fcf3b27d2eefd25abc7a646ad89b569a2a (patch)
tree2a9e8d4760495abc22fa722441f2bb79f8d9c595 /src/midi_sequencer.hpp
parent65adffb60eab7481cfd356a775c337a57fa1deb5 (diff)
downloadlibADLMIDI-62dba3fcf3b27d2eefd25abc7a646ad89b569a2a.tar.gz
libADLMIDI-62dba3fcf3b27d2eefd25abc7a646ad89b569a2a.tar.bz2
libADLMIDI-62dba3fcf3b27d2eefd25abc7a646ad89b569a2a.zip
MIDI Sequencer: Minor polishing
Diffstat (limited to 'src/midi_sequencer.hpp')
-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 54ceeea..f361f0b 100644
--- a/src/midi_sequencer.hpp
+++ b/src/midi_sequencer.hpp
@@ -384,6 +384,13 @@ private:
*/
struct LoopStackEntry
{
+ LoopStackEntry() :
+ infinity(false),
+ loops(0),
+ start(0),
+ end(0)
+ {}
+
//! is infinite loop
bool infinity;
//! Count of loops left to break. <0 - infinite loop