Mercurial > hg > svcore
diff data/fileio/CSVFileReader.h @ 1867:2654bf447a84
CSV reader tests and fixes - avoid creating null events for lines in which the timings could not be read
author | Chris Cannam |
---|---|
date | Thu, 11 Jun 2020 14:09:59 +0100 |
parents | c01cbe41aeb5 |
children |
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.h Thu Jun 11 14:07:56 2020 +0100 +++ b/data/fileio/CSVFileReader.h Thu Jun 11 14:09:59 2020 +0100 @@ -70,8 +70,8 @@ mutable int m_progress; ProgressReporter *m_reporter; - sv_frame_t convertTimeValue(QString, int lineno, sv_samplerate_t sampleRate, - int windowSize) const; + bool convertTimeValue(QString, int lineno, sv_samplerate_t sampleRate, + int windowSize, sv_frame_t &calculatedFrame) const; QString getConvertedAudioFilePath() const; };