[Asterisk-cvs] asterisk/apps app_rpt.c,1.1,1.2

citats at lists.digium.com citats at lists.digium.com
Sat Mar 27 02:44:05 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv2167/apps

Modified Files:
	app_rpt.c 
Log Message:
More read/write lock fixes in various modules


Index: app_rpt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_rpt.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_rpt.c	8 Dec 2002 17:30:24 -0000	1.1
+++ app_rpt.c	27 Mar 2004 07:41:33 -0000	1.2
@@ -378,8 +378,8 @@
 	myrpt->rxchannel = ast_request(myrpt->rxchanname,AST_FORMAT_SLINEAR,tele);
 	if (myrpt->rxchannel)
 	{
-		ast_set_read_format(myrpt->rxchannel,AST_FORMAT_SLINEAR);
-		ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR);
+		ast_set_read_format(myrpt->rxchannel,AST_FORMAT_SLINEAR, 0);
+		ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR, 0);
 		myrpt->rxchannel->whentohangup = 0;
 		myrpt->rxchannel->appl = "Apprpt";
 		myrpt->rxchannel->data = "(Repeater Rx)";
@@ -405,8 +405,8 @@
 		myrpt->txchannel = ast_request(myrpt->txchanname,AST_FORMAT_SLINEAR,tele);
 		if (myrpt->txchannel)
 		{
-			ast_set_read_format(myrpt->txchannel,AST_FORMAT_SLINEAR);
-			ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR);
+			ast_set_read_format(myrpt->txchannel,AST_FORMAT_SLINEAR, 0);
+			ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR, 0);
 			myrpt->txchannel->whentohangup = 0;
 			myrpt->txchannel->appl = "Apprpt";
 			myrpt->txchannel->data = "(Repeater Rx)";




More information about the svn-commits mailing list