Mercurial > hg > svcore
diff data/fileio/MP3FileReader.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 |
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.cpp Thu Oct 18 15:31:20 2007 +0000 +++ b/data/fileio/MP3FileReader.cpp Thu Oct 18 16:20:26 2007 +0000 @@ -34,7 +34,7 @@ #include <QFileInfo> #include <QProgressDialog> -MP3FileReader::MP3FileReader(RemoteFile source, DecodeMode decodeMode, +MP3FileReader::MP3FileReader(FileSource source, DecodeMode decodeMode, CacheMode mode, size_t targetRate) : CodedAudioFileReader(mode, targetRate), m_source(source), @@ -410,7 +410,7 @@ } bool -MP3FileReader::supports(RemoteFile &source) +MP3FileReader::supports(FileSource &source) { return (supportsExtension(source.getExtension()) || supportsContentType(source.getContentType()));