# HG changeset patch # User Andrew O. Shadoura # Date 1218578319 -10800 # Node ID aa6acdb93c1e771b28056893dddc92b2d8da6e8c # Parent 5e97b55f87cf9ca12a9c0c3946da27171fd1893a don't need these debug messages diff -r 5e97b55f87cf -r aa6acdb93c1e src/icecast/icecast.c --- 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)