comparison data/fileio/WavFileWriter.cpp @ 690:1424aa29ae95

Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author Chris Cannam
date Tue, 14 Jun 2011 15:26:52 +0100
parents 573d45e9487b
children e802e550a1f2
comparison
equal deleted inserted replaced
689:573d45e9487b 690:1424aa29ae95
96 bool 96 bool
97 WavFileWriter::writeModel(DenseTimeValueModel *source, 97 WavFileWriter::writeModel(DenseTimeValueModel *source,
98 MultiSelection *selection) 98 MultiSelection *selection)
99 { 99 {
100 if (source->getChannelCount() != m_channels) { 100 if (source->getChannelCount() != m_channels) {
101 DEBUG << "WavFileWriter::writeModel: Wrong number of channels (" 101 SVDEBUG << "WavFileWriter::writeModel: Wrong number of channels ("
102 << source->getChannelCount() << " != " << m_channels << ")" 102 << source->getChannelCount() << " != " << m_channels << ")"
103 << endl; 103 << endl;
104 m_error = QString("Failed to write model to audio file '%1'") 104 m_error = QString("Failed to write model to audio file '%1'")
105 .arg(getWriteFilename()); 105 .arg(getWriteFilename());
106 return false; 106 return false;