comparison data/fileio/MIDIFileReader.h @ 613:eb1b517f5eeb sv-v1.7

* Support SMPTE timecode in MIDI files (fixes #2739160)
author Chris Cannam
date Tue, 29 Sep 2009 10:34:57 +0000
parents 183ee2a55fc7
children 59e7fe1b1003
comparison
equal deleted inserted replaced
612:75f154085a4d 613:eb1b517f5eeb
106 MIDIByte getMIDIByte(); 106 MIDIByte getMIDIByte();
107 std::string getMIDIBytes(unsigned long bytes); 107 std::string getMIDIBytes(unsigned long bytes);
108 108
109 bool skipToNextTrack(); 109 bool skipToNextTrack();
110 110
111 bool m_smpte;
111 int m_timingDivision; // pulses per quarter note 112 int m_timingDivision; // pulses per quarter note
113 int m_fps; // if smpte
114 int m_subframes; // if smpte
112 MIDIFileFormatType m_format; 115 MIDIFileFormatType m_format;
113 unsigned int m_numberOfTracks; 116 unsigned int m_numberOfTracks;
114 117
115 long m_trackByteCount; 118 long m_trackByteCount;
116 bool m_decrementCount; 119 bool m_decrementCount;