Mercurial > audlegacy-plugins
changeset 2893:6a6f27de82aa
Automated merge with ssh://chrome@hg.atheme.org//hg/audacious-plugins
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Wed, 13 Aug 2008 01:01:25 +0300 |
parents | aa6acdb93c1e (diff) c27da2c06805 (current diff) |
children | 630c9662e0f1 |
files | |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/icecast/icecast.c Tue Aug 12 23:49:32 2008 +0200 +++ b/src/icecast/icecast.c Wed Aug 13 01:01:25 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)