diff transform/RealTimeEffectModelTransformer.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 c8955c486340
children 6036b38177e2
line wrap: on
line diff
--- a/transform/RealTimeEffectModelTransformer.cpp	Tue Jun 10 09:11:42 2008 +0000
+++ b/transform/RealTimeEffectModelTransformer.cpp	Wed Jun 11 12:53:20 2008 +0000
@@ -122,7 +122,6 @@
     if (!input) return;
 
     while (!input->isReady()) {
-        if (dynamic_cast<WaveFileModel *>(input)) break; // no need to wait
         std::cerr << "RealTimeEffectModelTransformer::run: Waiting for input model to be ready..." << std::endl;
         sleep(1);
     }