Mercurial > hg > svcore
diff data/fileio/ResamplingWavFileReader.h @ 317:c324d410b096
* RemoteFile -> FileSource
now it's used all over the place for local files as well.
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 16:20:26 +0000 |
parents | 3a6725f285d6 |
children | 700cd3350391 |
line wrap: on
line diff
--- a/data/fileio/ResamplingWavFileReader.h Thu Oct 18 15:31:20 2007 +0000 +++ b/data/fileio/ResamplingWavFileReader.h Thu Oct 18 16:20:26 2007 +0000 @@ -33,7 +33,7 @@ ResampleThreaded // resample in a background thread after construction }; - ResamplingWavFileReader(RemoteFile source, + ResamplingWavFileReader(FileSource source, ResampleMode resampleMode, CacheMode cacheMode, size_t targetRate = 0); @@ -43,7 +43,7 @@ static void getSupportedExtensions(std::set<QString> &extensions); static bool supportsExtension(QString ext); static bool supportsContentType(QString type); - static bool supports(RemoteFile &source); + static bool supports(FileSource &source); virtual int getDecodeCompletion() const { return m_completion; } @@ -52,7 +52,7 @@ } protected: - RemoteFile m_source; + FileSource m_source; QString m_path; QString m_error; bool m_cancelled;