mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
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
This commit is contained in:
2
dsp.c
2
dsp.c
@@ -1633,6 +1633,8 @@ struct ast_dsp *ast_dsp_new(void)
|
|||||||
dsp->busycount = DSP_HISTORY;
|
dsp->busycount = DSP_HISTORY;
|
||||||
/* Initialize DTMF detector */
|
/* Initialize DTMF detector */
|
||||||
ast_dtmf_detect_init(&dsp->td.dtmf);
|
ast_dtmf_detect_init(&dsp->td.dtmf);
|
||||||
|
/* Initialize initial DSP progress detect parameters */
|
||||||
|
ast_dsp_prog_reset(dsp);
|
||||||
}
|
}
|
||||||
return dsp;
|
return dsp;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user