Add silence detection to app_record

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-04-28 05:07:52 +00:00
parent 7babc7c8cd
commit 5526000ece
2 changed files with 80 additions and 7 deletions

5
dsp.c
View File

@@ -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)