[vlc-devel] [PATCH 2/2] Debug output removed...

Kai Lauterbach lauterbach.kai at web.de
Thu May 13 13:21:26 CEST 2010


---
 modules/video_filter/atmo/FnordlichtConnection.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/video_filter/atmo/FnordlichtConnection.cpp b/modules/video_filter/atmo/FnordlichtConnection.cpp
index c27c05a..d1fcce8 100644
--- a/modules/video_filter/atmo/FnordlichtConnection.cpp
+++ b/modules/video_filter/atmo/FnordlichtConnection.cpp
@@ -24,8 +24,8 @@
 #endif
 
 // TO REMOVE
-#include <iostream>
-using namespace std;
+//#include <iostream>
+//using namespace std;
 
 CFnordlichtConnection::CFnordlichtConnection(CAtmoConfig *cfg) : CAtmoConnection(cfg) {
     m_hComport = INVALID_HANDLE_VALUE;
@@ -178,7 +178,7 @@ ATMO_BOOL CFnordlichtConnection::SendData(pColorPacket data) {
 			buffer[4] = data->zone[idx].r;
 			buffer[5] = data->zone[idx].g;
 			buffer[6] = data->zone[idx].b;
-			cout << "f[" << i << "]=" << idx << "; r=" << buffer[4] << "; g=" << buffer[5] << "; b=" << buffer[6] << endl;
+			//cout << "f[" << i << "]=" << idx << "; r=" << buffer[4]+0 << "; g=" << buffer[5]+0 << "; b=" << buffer[6]+0 << endl;
 		}
 
 #if defined(WIN32)
@@ -242,12 +242,12 @@ ATMO_BOOL CFnordlichtConnection::sync(void)
 
 	Lock();
 
-	cout << "sync..." << endl;
+	//cout << "sync..." << endl;
 
 	for(int i=0; i < bufSize-1; i++) // 0 to 14 = 15 elements
 	{
 		buffer[i] = 0x1b; // send escape 15 times
-		cout << "i=" << i+1 << endl;
+		//cout << "i=" << i+1 << endl;
 	}
 
 	buffer[bufSize-1] = 0x00; // append one zero byte
-- 
1.6.3.3




More information about the vlc-devel mailing list