mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
For MF tones don't return the 0'os from the matrix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
dsp.c
3
dsp.c
@@ -700,7 +700,8 @@ static int mf_detect (mf_detect_state_t *s,
|
|||||||
}
|
}
|
||||||
|
|
||||||
hit = 0;
|
hit = 0;
|
||||||
sofarsogood=1;
|
if (best1 != best2) sofarsogood=1;
|
||||||
|
else sofarsogood=0;
|
||||||
/* Check for relative energies */
|
/* Check for relative energies */
|
||||||
for (i=0;i<6;i++) {
|
for (i=0;i<6;i++) {
|
||||||
if (i == best1) continue;
|
if (i == best1) continue;
|
||||||
|
Reference in New Issue
Block a user