diff data/fileio/CodedAudioFileReader.cpp @ 1403:edee37ae5882

Debug output
author Chris Cannam
date Tue, 07 Mar 2017 11:48:44 +0000
parents cc62d7862203
children cee1be4fb8c1
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.cpp	Mon Mar 06 17:37:23 2017 +0000
+++ b/data/fileio/CodedAudioFileReader.cpp	Tue Mar 07 11:48:44 2017 +0000
@@ -482,6 +482,7 @@
             m_data.insert(m_data.end(), buffer, buffer + count);
         } catch (const std::bad_alloc &e) {
             m_data.clear();
+            SVCERR << "CodedAudioFileReader: Caught bad_alloc when trying to add " << count << " elements to buffer" << endl;
             m_dataLock.unlock();
             throw e;
         }