#include <midiparser.h>
Classes | |
| struct | SubtrackStatus |
Public Member Functions | |
| void | clear () |
| Clears all data; used by the constructor for initialization. | |
| bool | isTracking () const |
| bool | isTracking (uint8 subtrack) const |
| void | stopTracking () |
| void | stopTracking (uint8 subtrack) |
Public Attributes | |
| uint32 | _playTime |
| Current time in microseconds; may be in between event times. | |
| uint32 | _playTick |
| Current MIDI tick; may be in between event ticks. | |
| uint32 | _lastEventTime |
| uint32 | _lastEventTick |
| The tick at which the last parsed event across all subtracks occurs. | |
| SubtrackStatus | _subtracks [35] |
Maintains time and position state within a MIDI stream, or multiple parallel MIDI streams. A single Tracker struct is used by MidiParser to keep track of its current position(s) in the MIDI stream(s). The Tracker struct, however, allows alternative locations to be cached. See MidiParser::jumpToTick() for an example of tracking multiple locations within a MIDI stream. NOTE: It is important to also maintain pre-parsed EventInfo data for each subtrack in each Tracker location.
| uint32 Tracker::_lastEventTime |
The time, in microseconds, of the last event that was parsed across all subtracks