diff data/fileio/MP3FileReader.cpp @ 1354:97deefd38060 3.0-integration

Further win32 build updates
author Chris Cannam
date Mon, 09 Jan 2017 13:51:39 +0000
parents 330bcc92507d
children b812df0351d9
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.cpp	Mon Jan 09 11:53:06 2017 +0000
+++ b/data/fileio/MP3FileReader.cpp	Mon Jan 09 13:51:39 2017 +0000
@@ -475,6 +475,10 @@
         m_fileRate = pcm->samplerate;
         m_channelCount = channels;
 
+        SVDEBUG << "MP3FileReader::accept: file rate = " << pcm->samplerate
+                << ", channel count = " << channels << ", about to init "
+                << "decode cache" << endl;
+
         initialiseDecodeCache();
 
         if (m_cacheMode == CacheInTemporaryFile) {
@@ -504,6 +508,9 @@
     }
 
     if (!isDecodeCacheInitialised()) {
+        SVDEBUG << "MP3FileReader::accept: fallback case: file rate = " << pcm->samplerate
+                << ", channel count = " << channels << ", about to init "
+                << "decode cache" << endl;
         initialiseDecodeCache();
     }