Mercurial > hg > svcore
diff transform/RealTimeEffectModelTransformer.cpp @ 687:06f13a3b9e9e debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:09 +0100 |
parents | b4a8d8221eaf |
children | 573d45e9487b |
line wrap: on
line diff
--- a/transform/RealTimeEffectModelTransformer.cpp Thu May 12 17:31:24 2011 +0100 +++ b/transform/RealTimeEffectModelTransformer.cpp Mon May 16 17:19:09 2011 +0100 @@ -43,7 +43,7 @@ if (!m_transform.getBlockSize()) m_transform.setBlockSize(1024); -// std::cerr << "RealTimeEffectModelTransformer::RealTimeEffectModelTransformer: plugin " << pluginId << ", output " << output << std::endl; +// DEBUG << "RealTimeEffectModelTransformer::RealTimeEffectModelTransformer: plugin " << pluginId << ", output " << output << endl; RealTimePluginFactory *factory = RealTimePluginFactory::instanceFor(pluginId); @@ -110,7 +110,7 @@ DenseTimeValueModel *dtvm = dynamic_cast<DenseTimeValueModel *>(getInputModel()); if (!dtvm) { - std::cerr << "RealTimeEffectModelTransformer::getConformingInput: WARNING: Input model is not conformable to DenseTimeValueModel" << std::endl; + DEBUG << "RealTimeEffectModelTransformer::getConformingInput: WARNING: Input model is not conformable to DenseTimeValueModel" << endl; } return dtvm; } @@ -122,7 +122,7 @@ if (!input) return; while (!input->isReady() && !m_abandoned) { - std::cerr << "RealTimeEffectModelTransformer::run: Waiting for input model to be ready..." << std::endl; + DEBUG << "RealTimeEffectModelTransformer::run: Waiting for input model to be ready..." << endl; usleep(500000); } if (m_abandoned) return;