aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.hpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2019-12-02 20:47:10 +0300
committerWohlstand <admin@wohlnet.ru>2019-12-02 20:47:10 +0300
commitc83fff6de633403c6c216bd1abf83e6915aa9913 (patch)
treea6902e82bcf3c3383ffeac9ac841063f5ced8f07 /src/midi_sequencer.hpp
parent45190534246f6c5186aa1708187d5010363db03d (diff)
parent84af1cde8d624100b4396173688743368db64b58 (diff)
downloadlibADLMIDI-c83fff6de633403c6c216bd1abf83e6915aa9913.tar.gz
libADLMIDI-c83fff6de633403c6c216bd1abf83e6915aa9913.tar.bz2
libADLMIDI-c83fff6de633403c6c216bd1abf83e6915aa9913.zip
Merge branch '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
*/