diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-28 05:07:52 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-28 05:07:52 +0000 |
commit | 17d587b621e47b46e4a4d92ce2b3709e5255f3f4 (patch) | |
tree | 0eac0195595d8e903f56a977dcdfcb707789f186 /dsp.c | |
parent | 078302117665eda70919ed413933f68b39e11b33 (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-x | dsp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |