comparison data/fileio/ResamplingWavFileReader.cpp @ 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 1d656dcda8ef
comparison
equal deleted inserted replaced
316:3a6725f285d6 317:c324d410b096
20 20
21 #include <QProgressDialog> 21 #include <QProgressDialog>
22 #include <QFileInfo> 22 #include <QFileInfo>
23 #include <QApplication> 23 #include <QApplication>
24 24
25 ResamplingWavFileReader::ResamplingWavFileReader(RemoteFile source, 25 ResamplingWavFileReader::ResamplingWavFileReader(FileSource source,
26 ResampleMode resampleMode, 26 ResampleMode resampleMode,
27 CacheMode mode, 27 CacheMode mode,
28 size_t targetRate) : 28 size_t targetRate) :
29 CodedAudioFileReader(mode, targetRate), 29 CodedAudioFileReader(mode, targetRate),
30 m_source(source), 30 m_source(source),
179 { 179 {
180 return WavFileReader::supportsContentType(type); 180 return WavFileReader::supportsContentType(type);
181 } 181 }
182 182
183 bool 183 bool
184 ResamplingWavFileReader::supports(RemoteFile &source) 184 ResamplingWavFileReader::supports(FileSource &source)
185 { 185 {
186 return WavFileReader::supports(source); 186 return WavFileReader::supports(source);
187 } 187 }
188 188
189 189