diff options
author | Mark Spencer <markster@digium.com> | 2004-04-06 22:17:32 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-04-06 22:17:32 +0000 |
commit | 13bca43aa8d950e7db8c301a2718a2fe290c401a (patch) | |
tree | f9360f7b870da96fcd47e19ff8c203287e906599 /dsp.c | |
parent | d0037ea2fde2bf8396ef9bb77892aae9ea86cb86 (diff) |
Get rid of all that old needlock garbage now that we're using recursive mutexes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'dsp.c')
-rwxr-xr-x | dsp.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1416,7 +1416,7 @@ int ast_dsp_silence(struct ast_dsp *dsp, struct ast_frame *f, int *totalsilence) return __ast_dsp_silence(dsp, s, len, totalsilence); } -struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, struct ast_frame *af, int needlock) +struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, struct ast_frame *af) { int silence; int res; @@ -1508,7 +1508,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, dsp->thinkdigit = 'x'; FIX_INF(af); if (chan) - ast_queue_frame(chan, af, needlock); + ast_queue_frame(chan, af); ast_frfree(af); return &dsp->f; } @@ -1525,7 +1525,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, dsp->f.subclass = dsp->thinkdigit; FIX_INF(af); if (chan) - ast_queue_frame(chan, af, needlock); + ast_queue_frame(chan, af); ast_frfree(af); } dsp->thinkdigit = digit; @@ -1547,7 +1547,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, } FIX_INF(af); if (chan) - ast_queue_frame(chan, af, needlock); + ast_queue_frame(chan, af); ast_frfree(af); return &dsp->f; } @@ -1564,7 +1564,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, dsp->td.mf.current_digits--; FIX_INF(af); if (chan) - ast_queue_frame(chan, af, needlock); + ast_queue_frame(chan, af); ast_frfree(af); return &dsp->f; } @@ -1577,7 +1577,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, dsp->td.dtmf.current_digits--; FIX_INF(af); if (chan) - ast_queue_frame(chan, af, needlock); + ast_queue_frame(chan, af); ast_frfree(af); return &dsp->f; } @@ -1596,7 +1596,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, case AST_CONTROL_CONGESTION: dsp->f.subclass = res; if (chan) - ast_queue_frame(chan, &dsp->f, needlock); + ast_queue_frame(chan, &dsp->f); break; default: ast_log(LOG_WARNING, "Don't know how to represent call progress message %d\n", res); |