[svn-commits] russell: branch 1.4 r130634 - /branches/1.4/main/audiohook.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jul 14 05:38:14 CDT 2008


Author: russell
Date: Mon Jul 14 05:38:14 2008
New Revision: 130634

URL: http://svn.digium.com/view/asterisk?view=rev&rev=130634
Log:
Bump up the debug level for a message.

Modified:
    branches/1.4/main/audiohook.c

Modified: branches/1.4/main/audiohook.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/audiohook.c?view=diff&rev=130634&r1=130633&r2=130634
==============================================================================
--- branches/1.4/main/audiohook.c (original)
+++ branches/1.4/main/audiohook.c Mon Jul 14 05:38:14 2008
@@ -210,14 +210,14 @@
 
 	/* If we want to provide only a read factory make sure we aren't waiting for other audio */
 	if (usable_read && !usable_write && (ast_tvdiff_ms(ast_tvnow(), audiohook->write_time) < (samples/8)*2)) {
-		if (option_debug)
+		if (option_debug > 2)
 			ast_log(LOG_DEBUG, "Write factory %p was pretty quick last time, waiting for them.\n", &audiohook->write_factory);
 		return NULL;
 	}
 
 	/* If we want to provide only a write factory make sure we aren't waiting for other audio */
 	if (usable_write && !usable_read && (ast_tvdiff_ms(ast_tvnow(), audiohook->read_time) < (samples/8)*2)) {
-		if (option_debug)
+		if (option_debug > 2)
 			ast_log(LOG_DEBUG, "Read factory %p was pretty quick last time, waiting for them.\n", &audiohook->read_factory);
 		return NULL;
 	}




More information about the svn-commits mailing list