comparison data/model/AggregateWaveModel.cpp @ 689:573d45e9487b

Merge from debug-output branch
author Chris Cannam
date Tue, 14 Jun 2011 14:47:59 +0100
parents 06f13a3b9e9e
children 1424aa29ae95
comparison
equal deleted inserted replaced
688:be43b2fe68e8 689:573d45e9487b
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