aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.hpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2019-09-26 15:13:35 +0300
committerWohlstand <admin@wohlnet.ru>2019-09-26 15:13:35 +0300
commit6896738560200e7245904c34bfd57f578ebb99d2 (patch)
tree9a8f7f2ceba192444eb69157c39897188d728cc3 /src/midi_sequencer.hpp
parent18c6c50bfbdd100f2add6c689bff5fdad52a989a (diff)
downloadlibADLMIDI-6896738560200e7245904c34bfd57f578ebb99d2.tar.gz
libADLMIDI-6896738560200e7245904c34bfd57f578ebb99d2.tar.bz2
libADLMIDI-6896738560200e7245904c34bfd57f578ebb99d2.zip
Update MIDI Sequencer with latest copy from libOPNMIDI
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
*/