Mercurial > hg > svcore
comparison data/fileio/AudioFileReaderFactory.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 | 1d656dcda8ef |
comparison
equal
deleted
inserted
replaced
316:3a6725f285d6 | 317:c324d410b096 |
---|---|
16 #ifndef _AUDIO_FILE_READER_FACTORY_H_ | 16 #ifndef _AUDIO_FILE_READER_FACTORY_H_ |
17 #define _AUDIO_FILE_READER_FACTORY_H_ | 17 #define _AUDIO_FILE_READER_FACTORY_H_ |
18 | 18 |
19 #include <QString> | 19 #include <QString> |
20 | 20 |
21 #include "RemoteFile.h" | 21 #include "FileSource.h" |
22 | 22 |
23 class AudioFileReader; | 23 class AudioFileReader; |
24 | 24 |
25 class AudioFileReaderFactory | 25 class AudioFileReaderFactory |
26 { | 26 { |
42 * if you want to find out whether the file is being resampled | 42 * if you want to find out whether the file is being resampled |
43 * or not. | 43 * or not. |
44 * | 44 * |
45 * Caller owns the returned object and must delete it after use. | 45 * Caller owns the returned object and must delete it after use. |
46 */ | 46 */ |
47 static AudioFileReader *createReader(RemoteFile source, size_t targetRate = 0); | 47 static AudioFileReader *createReader(FileSource source, size_t targetRate = 0); |
48 }; | 48 }; |
49 | 49 |
50 #endif | 50 #endif |
51 | 51 |