comparison data/fileio/MIDIFileReader.h @ 1069:32ab6c48efaa

Merge from branch tonioni
author Chris Cannam
date Mon, 20 Apr 2015 09:11:34 +0100
parents 26cf6d5251ec
children 1c9bbbb6116a
comparison
equal deleted inserted replaced
1036:682d64f05e72 1069:32ab6c48efaa
60 Q_OBJECT 60 Q_OBJECT
61 61
62 public: 62 public:
63 MIDIFileReader(QString path, 63 MIDIFileReader(QString path,
64 MIDIFileImportPreferenceAcquirer *pref, 64 MIDIFileImportPreferenceAcquirer *pref,
65 int mainModelSampleRate); 65 sv_samplerate_t mainModelSampleRate);
66 virtual ~MIDIFileReader(); 66 virtual ~MIDIFileReader();
67 67
68 virtual bool isOK() const; 68 virtual bool isOK() const;
69 virtual QString getError() const; 69 virtual QString getError() const;
70 virtual Model *load() const; 70 virtual Model *load() const;
124 MIDIComposition m_midiComposition; 124 MIDIComposition m_midiComposition;
125 TempoMap m_tempoMap; 125 TempoMap m_tempoMap;
126 126
127 QString m_path; 127 QString m_path;
128 std::ifstream *m_midiFile; 128 std::ifstream *m_midiFile;
129 int m_fileSize; 129 size_t m_fileSize;
130 QString m_error; 130 QString m_error;
131 int m_mainModelSampleRate; 131 sv_samplerate_t m_mainModelSampleRate;
132 132
133 MIDIFileImportPreferenceAcquirer *m_acquirer; 133 MIDIFileImportPreferenceAcquirer *m_acquirer;
134 }; 134 };
135 135
136 136