comparison data/fileio/MIDIFileReader.cpp @ 1491:1dc64d3d323c import-audio-data

Support progress reporter for data file loads
author Chris Cannam
date Fri, 29 Jun 2018 13:44:53 +0100
parents cee1be4fb8c1
children 70e172e6cc59
comparison
equal deleted inserted replaced
1490:9ab8e5ec4731 1491:1dc64d3d323c
56 //#define MIDI_DEBUG 1 56 //#define MIDI_DEBUG 1
57 57
58 58
59 MIDIFileReader::MIDIFileReader(QString path, 59 MIDIFileReader::MIDIFileReader(QString path,
60 MIDIFileImportPreferenceAcquirer *acquirer, 60 MIDIFileImportPreferenceAcquirer *acquirer,
61 sv_samplerate_t mainModelSampleRate) : 61 sv_samplerate_t mainModelSampleRate,
62 ProgressReporter *) : // we don't actually report progress
62 m_smpte(false), 63 m_smpte(false),
63 m_timingDivision(0), 64 m_timingDivision(0),
64 m_fps(0), 65 m_fps(0),
65 m_subframes(0), 66 m_subframes(0),
66 m_format(MIDI_FILE_BAD_FORMAT), 67 m_format(MIDI_FILE_BAD_FORMAT),