diff transform/RealTimeEffectModelTransformer.cpp @ 843:e802e550a1f2

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 13:35:08 +0000
parents 1424aa29ae95
children 418cd2064769
line wrap: on
line diff
--- a/transform/RealTimeEffectModelTransformer.cpp	Tue Nov 26 11:16:37 2013 +0000
+++ b/transform/RealTimeEffectModelTransformer.cpp	Tue Nov 26 13:35:08 2013 +0000
@@ -49,8 +49,8 @@
 	RealTimePluginFactory::instanceFor(pluginId);
 
     if (!factory) {
-	std::cerr << "RealTimeEffectModelTransformer: No factory available for plugin id \""
-		  << pluginId << "\"" << std::endl;
+	cerr << "RealTimeEffectModelTransformer: No factory available for plugin id \""
+		  << pluginId << "\"" << endl;
 	return;
     }
 
@@ -63,8 +63,8 @@
                                           input->getChannelCount());
 
     if (!m_plugin) {
-	std::cerr << "RealTimeEffectModelTransformer: Failed to instantiate plugin \""
-		  << pluginId << "\"" << std::endl;
+	cerr << "RealTimeEffectModelTransformer: Failed to instantiate plugin \""
+		  << pluginId << "\"" << endl;
 	return;
     }
 
@@ -72,7 +72,7 @@
 
     if (m_outputNo >= 0 &&
         m_outputNo >= int(m_plugin->getControlOutputCount())) {
-        std::cerr << "RealTimeEffectModelTransformer: Plugin has fewer than desired " << m_outputNo << " control outputs" << std::endl;
+        cerr << "RealTimeEffectModelTransformer: Plugin has fewer than desired " << m_outputNo << " control outputs" << endl;
         return;
     }
 
@@ -216,14 +216,14 @@
 	}
 
 /*
-        std::cerr << "Input for plugin: " << m_plugin->getAudioInputCount() << " channels "<< std::endl;
+        cerr << "Input for plugin: " << m_plugin->getAudioInputCount() << " channels "<< endl;
 
         for (size_t ch = 0; ch < m_plugin->getAudioInputCount(); ++ch) {
-            std::cerr << "Input channel " << ch << std::endl;
+            cerr << "Input channel " << ch << endl;
             for (size_t i = 0; i < 100; ++i) {
-                std::cerr << inbufs[ch][i] << " ";
+                cerr << inbufs[ch][i] << " ";
                 if (isnan(inbufs[ch][i])) {
-                    std::cerr << "\n\nWARNING: NaN in audio input" << std::endl;
+                    cerr << "\n\nWARNING: NaN in audio input" << endl;
                 }
             }
         }