summaryrefslogtreecommitdiff
path: root/dsp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-04-28 14:55:38 +0000
committerMark Spencer <markster@digium.com>2004-04-28 14:55:38 +0000
commitb18913b338f27c8cdcacb1dd7d84daa12e55b678 (patch)
treea0f49d94e653b3a56167b74529d5a5fa8546618c /dsp.c
parentfd9d8ca43bef5cc1f4af32f55fd54d3aabb68769 (diff)
When creating a new DSP, initialize the progress zone just in case
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dsp.c b/dsp.c
index dc45309db..774875212 100755
--- a/dsp.c
+++ b/dsp.c
@@ -1633,6 +1633,8 @@ struct ast_dsp *ast_dsp_new(void)
dsp->busycount = DSP_HISTORY;
/* Initialize DTMF detector */
ast_dtmf_detect_init(&dsp->td.dtmf);
+ /* Initialize initial DSP progress detect parameters */
+ ast_dsp_prog_reset(dsp);
}
return dsp;
}