Mercurial > hg > svcore
diff data/fileio/WavFileReader.h @ 285:20028c634494
* change some QStrings to std::strings etc
author | Chris Cannam |
---|---|
date | Thu, 09 Aug 2007 16:29:29 +0000 |
parents | e08f486e8d8c |
children | 92e8dbde73cd |
line wrap: on
line diff
--- a/data/fileio/WavFileReader.h Thu Aug 09 14:40:03 2007 +0000 +++ b/data/fileio/WavFileReader.h Thu Aug 09 16:29:29 2007 +0000 @@ -26,11 +26,9 @@ class WavFileReader : public AudioFileReader { public: - WavFileReader(QString path, bool fileUpdating = false); + WavFileReader(std::string path, bool fileUpdating = false); virtual ~WavFileReader(); - virtual QString getError() const { return m_error; } - /** * Must be safe to call from multiple threads with different * arguments on the same object at the same time. @@ -38,7 +36,7 @@ virtual void getInterleavedFrames(size_t start, size_t count, SampleBlock &frames) const; - static void getSupportedExtensions(std::set<QString> &extensions); + static void getSupportedExtensions(std::set<std::string> &extensions); virtual int getDecodeCompletion() const { return 100; } @@ -51,8 +49,7 @@ SF_INFO m_fileInfo; SNDFILE *m_file; - QString m_path; - QString m_error; + std::string m_path; mutable QMutex m_mutex; mutable float *m_buffer;