diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-09-19 03:38:12 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-09-19 03:38:12 +0300 |
commit | 02581cd7b0250000492b57fac74b4e2dfe13896d (patch) | |
tree | 3938825b0ddd87bb07f9fb6c1495a0b5545449ed /src/midi_sequencer.hpp | |
parent | b294333d585256182da160377c363a1f771a4c8b (diff) | |
download | libADLMIDI-02581cd7b0250000492b57fac74b4e2dfe13896d.tar.gz libADLMIDI-02581cd7b0250000492b57fac74b4e2dfe13896d.tar.bz2 libADLMIDI-02581cd7b0250000492b57fac74b4e2dfe13896d.zip |
Added automatic detection of HMI / RPG-Maker loop format
#175
Diffstat (limited to 'src/midi_sequencer.hpp')
-rw-r--r-- | src/midi_sequencer.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/midi_sequencer.hpp b/src/midi_sequencer.hpp index a8cbfac..54ceeea 100644 --- a/src/midi_sequencer.hpp +++ b/src/midi_sequencer.hpp @@ -315,11 +315,24 @@ public: Format_XMIDI }; + /** + * @brief Format of loop points implemented by CC events + */ + enum LoopFormat + { + Loop_Default, + Loop_RPGMaker = 1, + Loop_EMIDI, + Loop_HMI + }; + private: //! Music file format type. MIDI is default. FileFormat m_format; //! SMF format identifier. unsigned m_smfFormat; + //! Loop points format + LoopFormat m_loopFormat; //! Current position Position m_currentPosition; |