diff data/fileio/MP3FileReader.cpp @ 264:260032c26c4f

* don't store fft values scaled by fftsize/2; that's a special requirement for the spectrogram, and other applications will not expect it -- make the spectrogram do that scaling itself * add a higher-resolution memory cache (still polar, though) as an alternative to the 16-bit compact cache * don't use the memory cache if we want rectangular coords (unless the disc cache is totally infeasible) as conversion slows it down anyway * avoid redundant rectangular -> polar -> rectangular conversion when storing values in a rectangular-mode disc cache
author Chris Cannam
date Fri, 01 Jun 2007 13:56:35 +0000
parents 71dfc6ab3b54
children e08f486e8d8c
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.cpp	Thu May 24 16:20:22 2007 +0000
+++ b/data/fileio/MP3FileReader.cpp	Fri Jun 01 13:56:35 2007 +0000
@@ -31,7 +31,8 @@
 
 MP3FileReader::MP3FileReader(QString path, DecodeMode decodeMode, CacheMode mode) :
     CodedAudioFileReader(mode),
-    m_path(path)
+    m_path(path),
+    m_decodeThread(0)
 {
     m_frameCount = 0;
     m_channelCount = 0;