comparison data/fileio/CodedAudioFileReader.cpp @ 192:900ac6667eab

...
author Chris Cannam
date Tue, 17 Oct 2006 18:54:04 +0000
parents 1a42221a1522
children 71dfc6ab3b54
comparison
equal deleted inserted replaced
191:86766fef5467 192:900ac6667eab
16 #include "CodedAudioFileReader.h" 16 #include "CodedAudioFileReader.h"
17 17
18 #include "WavFileReader.h" 18 #include "WavFileReader.h"
19 #include "base/TempDirectory.h" 19 #include "base/TempDirectory.h"
20 #include "base/Exceptions.h" 20 #include "base/Exceptions.h"
21 #include "base/Profiler.h"
21 22
22 #include <iostream> 23 #include <iostream>
23 #include <QDir> 24 #include <QDir>
24 25
25 CodedAudioFileReader::CodedAudioFileReader(CacheMode cacheMode) : 26 CodedAudioFileReader::CodedAudioFileReader(CacheMode cacheMode) :
114 } 115 }
115 116
116 void 117 void
117 CodedAudioFileReader::finishDecodeCache() 118 CodedAudioFileReader::finishDecodeCache()
118 { 119 {
120 Profiler profiler("CodedAudioFileReader::finishDecodeCache", true);
121
119 if (!m_initialised) { 122 if (!m_initialised) {
120 std::cerr << "WARNING: CodedAudioFileReader::finishDecodeCache: Cache was never initialised!" << std::endl; 123 std::cerr << "WARNING: CodedAudioFileReader::finishDecodeCache: Cache was never initialised!" << std::endl;
121 return; 124 return;
122 } 125 }
123 126