diff options
author | Mark Spencer <markster@digium.com> | 2003-04-28 05:07:52 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-04-28 05:07:52 +0000 |
commit | 5526000ecea9f6df4444818ba633a0d27ab673e5 (patch) | |
tree | 0eac0195595d8e903f56a977dcdfcb707789f186 /dsp.c | |
parent | 7babc7c8cdd3c4aef8180454f50111298b19f309 (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-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) |