aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2019-11-15 23:16:22 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2019-11-15 23:16:22 +0300
commit2a2613b2da30dcb835440f9d80f2fbf2a068e29f (patch)
treea75778dc8a14bff6e11b663c24d489598db89169 /src/midi_sequencer.hpp
parent45190534246f6c5186aa1708187d5010363db03d (diff)
parentd21b27084532dca78f07ff87f578330f7c6f9755 (diff)
downloadlibADLMIDI-2a2613b2da30dcb835440f9d80f2fbf2a068e29f.tar.gz
libADLMIDI-2a2613b2da30dcb835440f9d80f2fbf2a068e29f.tar.bz2
libADLMIDI-2a2613b2da30dcb835440f9d80f2fbf2a068e29f.zip
Merge remote-tracking branch 'origin/master' into wip-new-embedded-banks
Diffstat (limited to 'src/midi_sequencer.hpp')
-rw-r--r--src/midi_sequencer.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/midi_sequencer.hpp b/src/midi_sequencer.hpp
index 04ac866..1eb5873 100644
--- a/src/midi_sequencer.hpp
+++ b/src/midi_sequencer.hpp
@@ -343,6 +343,8 @@ private:
//! Is looping enabled or not
bool m_loopEnabled;
+ //! Don't process loop: trigger hooks only if they are set
+ bool m_loopHooksOnly;
//! Full song length in seconds
double m_fullSongTimeLength;
@@ -577,6 +579,12 @@ public:
void setLoopEnabled(bool enabled);
/**
+ * @brief Switch loop hooks-only mode on/off
+ * @param enabled Don't loop: trigger hooks only without loop
+ */
+ void setLoopHooksOnly(bool enabled);
+
+ /**
* @brief Get music title
* @return music title string
*/