diff data/fileio/WavFileWriter.cpp @ 689:573d45e9487b

Merge from debug-output branch
author Chris Cannam
date Tue, 14 Jun 2011 14:47:59 +0100
parents bcca512445f3 06f13a3b9e9e
children 1424aa29ae95
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.cpp	Tue Jun 14 13:43:03 2011 +0100
+++ b/data/fileio/WavFileWriter.cpp	Tue Jun 14 14:47:59 2011 +0100
@@ -98,9 +98,9 @@
                           MultiSelection *selection)
 {
     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(getWriteFilename());
         return false;