[Asterisk-cvs] asterisk/channels chan_agent.c,1.69,1.70 chan_alsa.c,1.15,1.16 chan_h323.c,1.41,1.42 chan_mgcp.c,1.43,1.44

citats at lists.digium.com citats at lists.digium.com
Thu Apr 8 15:18:32 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk/channels

Modified Files:
	chan_agent.c chan_alsa.c chan_h323.c chan_mgcp.c 
Log Message:
Remove more needlock stuff


Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- chan_agent.c	6 Apr 2004 22:17:31 -0000	1.69
+++ chan_agent.c	8 Apr 2004 19:19:24 -0000	1.70
@@ -380,7 +380,7 @@
 	return res;
 }
 
-static int agent_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, int needlock)
+static int agent_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
 {
 	struct agent_pvt *p = newchan->pvt->pvt;
 	if (needlock)

Index: chan_alsa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_alsa.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- chan_alsa.c	7 Apr 2004 16:46:39 -0000	1.15
+++ chan_alsa.c	8 Apr 2004 19:19:24 -0000	1.16
@@ -718,7 +718,7 @@
 }
 #endif
 
-static int alsa_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, int needlock)
+static int alsa_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
 {
 	struct chan_alsa_pvt *p = newchan->pvt->pvt;
 	p->owner = newchan;

Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- chan_h323.c	7 Apr 2004 20:12:23 -0000	1.41
+++ chan_h323.c	8 Apr 2004 19:19:24 -0000	1.42
@@ -533,7 +533,7 @@
 		
 			/* Do in-band DTMF detection */
 			if (p->dtmfmode & H323_DTMF_INBAND) {
-                   f = ast_dsp_process(p->owner,p->vad,f,0);
+                   f = ast_dsp_process(p->owner,p->vad,f);
 				   if (f->frametype == AST_FRAME_DTMF)
 					ast_log(LOG_DEBUG, "Got in-band digit %c.\n", f->subclass);
             }
@@ -622,7 +622,7 @@
 }
 
 // FIXME: WTF is this? Do I need this???
-static int oh323_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, int needlock)
+static int oh323_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
 {
 	struct oh323_pvt *p = newchan->pvt->pvt;
 

Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- chan_mgcp.c	7 Apr 2004 20:12:23 -0000	1.43
+++ chan_mgcp.c	8 Apr 2004 19:19:24 -0000	1.44
@@ -1334,7 +1334,7 @@
 					ast_set_write_format(p->owner, p->owner->writeformat);
 				}
 				if (p->dtmfinband) {
-				    f = ast_dsp_process(p->owner,p->dsp,f,0);
+				    f = ast_dsp_process(p->owner,p->dsp,f);
 				}
 			}
 			ast_queue_frame(p->owner, f);




More information about the svn-commits mailing list