changeset 2892:aa6acdb93c1e

don't need these debug messages
author Andrew O. Shadoura <bugzilla@tut.by>
date Wed, 13 Aug 2008 00:58:39 +0300
parents 5e97b55f87cf
children 6a6f27de82aa
files src/icecast/icecast.c
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/icecast/icecast.c	Tue Aug 12 20:40:31 2008 +0300
+++ b/src/icecast/icecast.c	Wed Aug 13 00:58:39 2008 +0300
@@ -151,7 +151,7 @@
 static void ice_init(void)
 {
     ConfigDb *db;
-    g_debug("ICE_INIT");
+    /*g_debug("ICE_INIT");*/
     shout_init();
     g_message("Using libshout %s", shout_version(NULL, NULL, NULL));
 
@@ -330,7 +330,7 @@
 
     rv = (plugin.open)();
 
-    g_debug("ICE_OPEN");
+    /*g_debug("ICE_OPEN");*/
     return rv;
 }
 
@@ -349,28 +349,28 @@
     if (!length) return length;
     ret = shout_send(shout, ptr, length);
     shout_sync(shout);
-    g_debug("ice_write[%d:%d]", ret, length);
+    /*g_debug("ice_write[%d:%d]", ret, length);*/
     return 0;
 }
 
 static gint ice_write_output(void *ptr, gint length)
 {
     if ((!shout) || (!length)) return 0;
-    g_debug("outputlength=%d, length=%d...", outputlength, length);
+    /*g_debug("outputlength=%d, length=%d...", outputlength, length);*/
     if ((outputlength > bufferflush) || ((outputlength+length) > buffersize))
     {
-        g_debug("flushing");
+        /*g_debug("flushing");*/
         outputlength = ice_real_write(outputbuffer, outputlength);
     }
     {
         if (length > buffersize)
         {
-            g_debug("data too long, flushing");
+            /*g_debug("data too long, flushing");*/
             ice_real_write(ptr, length);
         }
         else
         {
-            g_debug("adding");
+            /*g_debug("adding");*/
             memcpy(&(outputbuffer[outputlength]), ptr, length);
             outputlength += length;
         }
@@ -390,7 +390,7 @@
     }
     shout = NULL;
     ice_tid = 0;
-    g_debug("ICE_REAL_CLOSE");
+    /*g_debug("ICE_REAL_CLOSE");*/
     return FALSE;
 }
 
@@ -400,7 +400,7 @@
     if (ice_tid)
         g_source_remove(ice_tid);
     ice_tid = g_timeout_add_seconds(3, ice_real_close, NULL);
-    g_debug("ICE_CLOSE: starting timer");
+    /*g_debug("ICE_CLOSE: starting timer");*/
 }
 
 static void ice_flush(gint time)