[asterisk-commits] branch oej/jitterbuffer-1.2 r12645 - /team/oej/jitterbuffer-1.2/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Mar 12 12:05:40 MST 2006


Author: oej
Date: Sun Mar 12 13:05:38 2006
New Revision: 12645

URL: http://svn.digium.com/view/asterisk?rev=12645&view=rev
Log:
Channel.c still does not compile... Help needed to sort this out.

Modified:
    team/oej/jitterbuffer-1.2/channel.c

Modified: team/oej/jitterbuffer-1.2/channel.c
URL: http://svn.digium.com/view/asterisk/team/oej/jitterbuffer-1.2/channel.c?rev=12645&r1=12644&r2=12645&view=diff
==============================================================================
--- team/oej/jitterbuffer-1.2/channel.c (original)
+++ team/oej/jitterbuffer-1.2/channel.c Sun Mar 12 13:05:38 2006
@@ -3269,15 +3269,13 @@
 #ifdef AST_JB
 		/* Calculate the appropriate max sleep interval - in general, this is the time,
 		   left to the closest jb delivery moment */
-		toms = ast_jb_get_when_to_wakeup(c0, c1, toms);
+		to = ast_jb_get_when_to_wakeup(c0, c1, &to);
 #endif /* AST_JB */
-		who = ast_waitfor_n(cs, 2, &toms);
 		if (!who) {
 #ifdef AST_JB
 			/* No frame received within the specified timeout - check if we have to deliver now */
 			ast_jb_get_and_deliver(c0, c1);
 #endif /* AST_JB */
-		who = ast_waitfor_n(cs, 2, &to);
 		if (!who) {
 			ast_log(LOG_DEBUG, "Nobody there, continuing...\n"); 
 			if (c0->_softhangup == AST_SOFTHANGUP_UNBRIDGE || c1->_softhangup == AST_SOFTHANGUP_UNBRIDGE) {



More information about the asterisk-commits mailing list