comparison data/fileio/MP3FileReader.h @ 1097:abc309f507ae simple-fft-model

Tidy
author Chris Cannam
date Mon, 15 Jun 2015 12:38:50 +0100
parents a1cd5abcb38b
children 16a8e97179d7
comparison
equal deleted inserted replaced
1096:4d9816ba0ebe 1097:abc309f507ae
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,