aboutsummaryrefslogtreecommitdiffstats
path: root/dsp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-28 05:07:52 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-28 05:07:52 +0000
commit17d587b621e47b46e4a4d92ce2b3709e5255f3f4 (patch)
tree0eac0195595d8e903f56a977dcdfcb707789f186 /dsp.c
parent078302117665eda70919ed413933f68b39e11b33 (diff)
Add silence detection to app_record
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@926 f38db490-d61c-443f-a65b-d21fe96a405b
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)