diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-08 19:19:24 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-08 19:19:24 +0000 |
commit | be5bc57ec1879c19c4d1b42c0407fe1454b0654b (patch) | |
tree | a772aa8a2121df30741e448eed0632a6795492b2 /channels | |
parent | 0210619de19a5e76674f942941c8d5349e75c216 (diff) |
Remove more needlock stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2662 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_agent.c | 2 | ||||
-rwxr-xr-x | channels/chan_alsa.c | 2 | ||||
-rwxr-xr-x | channels/chan_h323.c | 4 | ||||
-rwxr-xr-x | channels/chan_mgcp.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 885c4ca60..c12a8581a 100755 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -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) diff --git a/channels/chan_alsa.c b/channels/chan_alsa.c index 7380d0a7a..57d0fdb74 100755 --- a/channels/chan_alsa.c +++ b/channels/chan_alsa.c @@ -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; diff --git a/channels/chan_h323.c b/channels/chan_h323.c index b1c675662..ca68cb681 100755 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -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; diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 2545236ef..e2cf8e4a6 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -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); |