diff options
author | Wohlstand <admin@wohlnet.ru> | 2019-12-02 20:47:10 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2019-12-02 20:47:10 +0300 |
commit | c83fff6de633403c6c216bd1abf83e6915aa9913 (patch) | |
tree | a6902e82bcf3c3383ffeac9ac841063f5ced8f07 /src/midi_sequencer.hpp | |
parent | 45190534246f6c5186aa1708187d5010363db03d (diff) | |
parent | 84af1cde8d624100b4396173688743368db64b58 (diff) | |
download | libADLMIDI-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.hpp | 8 |
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 */ |