Mercurial > hg > svcore
diff data/fileio/CodedAudioFileReader.cpp @ 192:900ac6667eab
...
author | Chris Cannam |
---|---|
date | Tue, 17 Oct 2006 18:54:04 +0000 |
parents | 1a42221a1522 |
children | 71dfc6ab3b54 |
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.cpp Tue Oct 17 13:49:31 2006 +0000 +++ b/data/fileio/CodedAudioFileReader.cpp Tue Oct 17 18:54:04 2006 +0000 @@ -18,6 +18,7 @@ #include "WavFileReader.h" #include "base/TempDirectory.h" #include "base/Exceptions.h" +#include "base/Profiler.h" #include <iostream> #include <QDir> @@ -116,6 +117,8 @@ void CodedAudioFileReader::finishDecodeCache() { + Profiler profiler("CodedAudioFileReader::finishDecodeCache", true); + if (!m_initialised) { std::cerr << "WARNING: CodedAudioFileReader::finishDecodeCache: Cache was never initialised!" << std::endl; return;