diff options
author | Mark Spencer <markster@digium.com> | 2005-08-08 00:08:48 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-08-08 00:08:48 +0000 |
commit | 13a0bec612a4aa0b7657c98fdf69afb42a52cebf (patch) | |
tree | a86d4fb9de75712a358602ea7e271f160067d33c /include/asterisk/dsp.h | |
parent | 195a36afaca7587b8c52e01741658406bab1d49e (diff) |
Merge steve's busy detect stuff (bug #4830)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/dsp.h')
-rwxr-xr-x | include/asterisk/dsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/dsp.h b/include/asterisk/dsp.h index d335b18bf..07e74c947 100755 --- a/include/asterisk/dsp.h +++ b/include/asterisk/dsp.h @@ -53,6 +53,9 @@ void ast_dsp_set_threshold(struct ast_dsp *dsp, int threshold); /* Set number of required cadences for busy */ void ast_dsp_set_busy_count(struct ast_dsp *dsp, int cadences); +/* Set expected lengths of the busy tone */ +void ast_dsp_set_busy_pattern(struct ast_dsp *dsp, int tonelength, int quietlength); + /* Scans for progress indication in audio */ int ast_dsp_call_progress(struct ast_dsp *dsp, struct ast_frame *inf); |