Mercurial > hg > svcore
diff transform/FeatureExtractionModelTransformer.cpp @ 418:d35d4e79c95b
* Wait for input to be ready before running real-time effect -- even if
it's a wave file model, because they are now progressively decoded
author | Chris Cannam |
---|---|
date | Wed, 11 Jun 2008 12:53:20 +0000 |
parents | 115f60df1e4d |
children | 6036b38177e2 |
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp Tue Jun 10 09:11:42 2008 +0000 +++ b/transform/FeatureExtractionModelTransformer.cpp Wed Jun 11 12:53:20 2008 +0000 @@ -297,13 +297,6 @@ if (!m_output) return; while (!input->isReady()) { -/* - if (dynamic_cast<WaveFileModel *>(input)) { - std::cerr << "FeatureExtractionModelTransformer::run: Model is not ready, but it's not a WaveFileModel (it's a " << typeid(input).name() << "), so that's OK" << std::endl; - sleep(2); - break; // no need to wait - } -*/ std::cerr << "FeatureExtractionModelTransformer::run: Waiting for input model to be ready..." << std::endl; sleep(1); }