diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-10-23 06:12:22 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-10-23 06:12:22 +0300 |
commit | a8dde37099558dc805dfa07eb870c2baf66f4fec (patch) | |
tree | ed96c31e202a5f8c7cebb3604144c0d414d361ab /src/adlmidi_private.cpp | |
parent | 490bac7421b5345e5b9035f1430520c751935534 (diff) | |
download | libADLMIDI-a8dde37099558dc805dfa07eb870c2baf66f4fec.tar.gz libADLMIDI-a8dde37099558dc805dfa07eb870c2baf66f4fec.tar.bz2 libADLMIDI-a8dde37099558dc805dfa07eb870c2baf66f4fec.zip |
Prepare to implement seekability - pre-parse all MIDI events before play
All parsed events will be stored into special time marked containers and will be sorted by type to avoid possible issues caused by incorrect order of meta or note-on/off events, etc.
Time markers are needed to easier detect seconds position to seek.
TODO: Fix IMF playback
Diffstat (limited to 'src/adlmidi_private.cpp')
-rw-r--r-- | src/adlmidi_private.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adlmidi_private.cpp b/src/adlmidi_private.cpp index fd9253c..c888b18 100644 --- a/src/adlmidi_private.cpp +++ b/src/adlmidi_private.cpp @@ -73,3 +73,4 @@ int adlRefreshNumCards(ADL_MIDIPlayer *device) return 0; } + |