aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.hpp
diff options
context:
space:
mode:
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
*/