diff transform/FeatureExtractionPluginTransform.cpp @ 148:0c22273a1d8c

* Enable threaded decoding for Ogg and MP3 files. Needs some work on reducing updates to the overview widget
author Chris Cannam
date Wed, 06 Jun 2007 16:24:55 +0000
parents d27f13651e67
children 37cb005f7c40
line wrap: on
line diff
--- a/transform/FeatureExtractionPluginTransform.cpp	Wed Jun 06 14:42:41 2007 +0000
+++ b/transform/FeatureExtractionPluginTransform.cpp	Wed Jun 06 16:24:55 2007 +0000
@@ -242,7 +242,13 @@
     if (!input) return;
 
     while (!input->isReady()) {
-        if (dynamic_cast<WaveFileModel *>(input)) break; // no need to wait
+/*
+        if (dynamic_cast<WaveFileModel *>(input)) {
+            std::cerr << "FeatureExtractionPluginTransform::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 << "FeatureExtractionPluginTransform::run: Waiting for input model to be ready..." << std::endl;
         sleep(1);
     }