[svn-commits] file: branch 1.2 r58388 - /branches/1.2/dsp.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Mar 8 09:04:58 MST 2007


Author: file
Date: Thu Mar  8 10:04:58 2007
New Revision: 58388

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58388
Log:
Only print out debug message if the definition that makes the variables shows up was actually defined. (issue #9233 reported by serginuez)

Modified:
    branches/1.2/dsp.c

Modified: branches/1.2/dsp.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/dsp.c?view=diff&rev=58388&r1=58387&r2=58388
==============================================================================
--- branches/1.2/dsp.c (original)
+++ branches/1.2/dsp.c Thu Mar  8 10:04:58 2007
@@ -1292,8 +1292,10 @@
 	}
 #endif
 #if 1
+#ifndef BUSYDETECT_TONEONLY
 	if (res)
 		ast_log(LOG_DEBUG, "ast_dsp_busydetect detected busy, avgtone: %d, avgsilence %d\n", avgtone, avgsilence);
+#endif
 #endif
 	return res;
 }



More information about the svn-commits mailing list