diff data/fileio/WavFileWriter.cpp @ 687:06f13a3b9e9e debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:09 +0100
parents 920e3880f7b4
children 573d45e9487b
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.cpp	Thu May 12 17:31:24 2011 +0100
+++ b/data/fileio/WavFileWriter.cpp	Mon May 16 17:19:09 2011 +0100
@@ -82,9 +82,9 @@
     }
 
     if (source->getChannelCount() != m_channels) {
-        std::cerr << "WavFileWriter::writeModel: Wrong number of channels ("
+        DEBUG << "WavFileWriter::writeModel: Wrong number of channels ("
                   << source->getChannelCount()  << " != " << m_channels << ")"
-                  << std::endl;
+                  << endl;
         m_error = QString("Failed to write model to audio file '%1'")
             .arg(m_temp->getTemporaryFilename());
         return false;