Remove more needlock stuff
authorJames Golovich <james@gnuinter.net>
Thu, 8 Apr 2004 19:19:24 +0000 (19:19 +0000)
committerJames Golovich <james@gnuinter.net>
Thu, 8 Apr 2004 19:19:24 +0000 (19:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2662 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_agent.c
channels/chan_alsa.c
channels/chan_h323.c
channels/chan_mgcp.c

index 885c4ca..c12a858 100755 (executable)
@@ -380,7 +380,7 @@ static int agent_write(struct ast_channel *ast, struct ast_frame *f)
        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 7380d0a..57d0fdb 100755 (executable)
@@ -718,7 +718,7 @@ static struct ast_frame *alsa_read(struct ast_channel *chan)
 }
 #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 b1c6756..ca68cb6 100755 (executable)
@@ -533,7 +533,7 @@ static struct ast_frame *oh323_rtp_read(struct oh323_pvt *p)
                
                        /* 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 @@ static int oh323_indicate(struct ast_channel *c, int condition)
 }
 
 // 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 2545236..e2cf8e4 100755 (executable)
@@ -1334,7 +1334,7 @@ static int rtpready(struct ast_rtp *rtp, struct ast_frame *f, void *data)
                                        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);