Mercurial > hg > svcore
diff data/model/WaveFileModel.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/model/WaveFileModel.cpp Thu Oct 18 15:31:20 2007 +0000 +++ b/data/model/WaveFileModel.cpp Thu Oct 18 16:20:26 2007 +0000 @@ -39,7 +39,7 @@ PowerOfSqrtTwoZoomConstraint WaveFileModel::m_zoomConstraint; -WaveFileModel::WaveFileModel(RemoteFile source, size_t targetRate) : +WaveFileModel::WaveFileModel(FileSource source, size_t targetRate) : m_source(source), m_path(source.getLocation()), m_myReader(true), @@ -62,7 +62,7 @@ if (isOK()) fillCache(); } -WaveFileModel::WaveFileModel(RemoteFile source, AudioFileReader *reader) : +WaveFileModel::WaveFileModel(FileSource source, AudioFileReader *reader) : m_source(source), m_path(source.getLocation()), m_myReader(false),