comparison data/model/AggregateWaveModel.cpp @ 687:06f13a3b9e9e debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:09 +0100
parents 166c22eff678
children 1424aa29ae95
comparison
equal deleted inserted replaced
686:b4a8d8221eaf 687:06f13a3b9e9e
27 { 27 {
28 for (ChannelSpecList::const_iterator i = channelSpecs.begin(); 28 for (ChannelSpecList::const_iterator i = channelSpecs.begin();
29 i != channelSpecs.end(); ++i) { 29 i != channelSpecs.end(); ++i) {
30 if (i->model->getSampleRate() != 30 if (i->model->getSampleRate() !=
31 channelSpecs.begin()->model->getSampleRate()) { 31 channelSpecs.begin()->model->getSampleRate()) {
32 std::cerr << "AggregateWaveModel::AggregateWaveModel: WARNING: Component models do not all have the same sample rate" << std::endl; 32 DEBUG << "AggregateWaveModel::AggregateWaveModel: WARNING: Component models do not all have the same sample rate" << endl;
33 break; 33 break;
34 } 34 }
35 } 35 }
36 } 36 }
37 37