summaryrefslogtreecommitdiff
path: root/dsp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-04-28 05:07:52 +0000
committerMark Spencer <markster@digium.com>2003-04-28 05:07:52 +0000
commit5526000ecea9f6df4444818ba633a0d27ab673e5 (patch)
tree0eac0195595d8e903f56a977dcdfcb707789f186 /dsp.c
parent7babc7c8cdd3c4aef8180454f50111298b19f309 (diff)
Add silence detection to app_record
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dsp.c b/dsp.c
index 195a0da39..1d058e694 100755
--- a/dsp.c
+++ b/dsp.c
@@ -1267,6 +1267,11 @@ void ast_dsp_free(struct ast_dsp *dsp)
free(dsp);
}
+void ast_dsp_set_threshold(struct ast_dsp *dsp, int threshold)
+{
+ dsp->threshold = threshold;
+}
+
void ast_dsp_set_busy_count(struct ast_dsp *dsp, int cadences)
{
if (cadences < 1)