Mercurial > audlegacy-plugins
changeset 2917:082f79c0563d
remove debug messages
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Sun, 17 Aug 2008 23:57:16 +0300 |
parents | 23c437ada180 |
children | d354afe9df0d |
files | src/icecast/icecast.c |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/icecast/icecast.c Thu Aug 14 00:20:17 2008 +0300 +++ b/src/icecast/icecast.c Sun Aug 17 23:57:16 2008 +0300 @@ -164,7 +164,6 @@ static void ice_init(void) { ConfigDb *db; - g_debug("ICE_INIT"); if (initialized==TRUE) return; shout_init(); g_message("Using libshout %s", shout_version(NULL, NULL, NULL)); @@ -385,7 +384,6 @@ rv = (plugin.open)(); - g_debug("ICE_OPEN[%d:%d:%d]", fmt, rate, nch); return rv; } @@ -424,28 +422,23 @@ if (!length) return length; ret = shout_send(shout, ptr, length); shout_sync(shout); - 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);*/ if ((outputlength > bufferflush) || ((outputlength+length) > buffersize)) { - /*g_debug("flushing");*/ outputlength = ice_real_write(outputbuffer, outputlength); } { if (length > buffersize) { - /*g_debug("data too long, flushing");*/ ice_real_write(ptr, length); } else { - /*g_debug("adding");*/ memcpy(&(outputbuffer[outputlength]), ptr, length); outputlength += length; } @@ -466,7 +459,6 @@ shout = NULL; ice_tid = 0; ep_playing = FALSE; - g_debug("ICE_REAL_CLOSE"); return FALSE; } @@ -476,7 +468,6 @@ if (ice_tid) g_source_remove(ice_tid); ice_tid = g_timeout_add_seconds(ice_close_timeout, ice_real_close, NULL); - g_debug("ICE_CLOSE: starting timer"); } static void ice_flush(gint time)