comparison data/fileio/MP3FileReader.h @ 1126:39019ce29178 tony-2.0-integration

Merge through to branch for Tony 2.0
author Chris Cannam
date Thu, 20 Aug 2015 14:54:21 +0100
parents abc309f507ae
children 16a8e97179d7
comparison
equal deleted inserted replaced
1119:e22bfe8ca248 1126:39019ce29178
30 class MP3FileReader : public CodedAudioFileReader 30 class MP3FileReader : public CodedAudioFileReader
31 { 31 {
32 Q_OBJECT 32 Q_OBJECT
33 33
34 public: 34 public:
35 enum DecodeMode {
36 DecodeAtOnce, // decode the file on construction, with progress
37 DecodeThreaded // decode in a background thread after construction
38 };
39
40 MP3FileReader(FileSource source, 35 MP3FileReader(FileSource source,
41 DecodeMode decodeMode, 36 DecodeMode decodeMode,
42 CacheMode cacheMode, 37 CacheMode cacheMode,
43 sv_samplerate_t targetRate = 0, 38 sv_samplerate_t targetRate = 0,
44 bool normalised = false, 39 bool normalised = false,