aboutsummaryrefslogtreecommitdiffstats
path: root/dsp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-06 22:17:32 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-06 22:17:32 +0000
commitb837107b6b89ed55e1ac5e2ef829e72275914403 (patch)
treef9360f7b870da96fcd47e19ff8c203287e906599 /dsp.c
parent72df970e585d58cc41da5f90b28ce4676217ef0a (diff)
Get rid of all that old needlock garbage now that we're using recursive mutexes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/dsp.c b/dsp.c
index a0f73f42c..dc45309db 100755
--- a/dsp.c
+++ b/dsp.c
@@ -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);