mf_detect: incorrectly used DTMF_GSIZE instead of MF_GSIZE

........

Merged revisions 371662 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 371663 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@371664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/11.2
Alec L Davis 13 years ago
parent 266d2cb75b
commit 2994f7ff41

@ -918,7 +918,7 @@ static int mf_detect(struct ast_dsp *dsp, digit_detect_state_t *s, int16_t amp[]
mute_fragment(dsp, &mute);
mute.start = (sample > MF_GSIZE) ? (sample - MF_GSIZE) : 0;
}
mute.end = limit + DTMF_GSIZE;
mute.end = limit + MF_GSIZE;
}
/* Reinitialise the detector for the next block */

Loading…
Cancel
Save