update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@356 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
28b9c10b52
commit
1c32ee36f1
|
@ -217,7 +217,7 @@ int teletone_multi_tone_detect (teletone_multi_tone_t *mt,
|
|||
float eng_sum = 0, eng_all[TELETONE_MAX_TONES];
|
||||
int gtest = 0, see_hit = 0;
|
||||
|
||||
for (sample = 0; sample < samples; sample = limit) {
|
||||
for (sample = 0; sample <= 0 && sample < samples; sample = limit) {
|
||||
mt->total_samples++;
|
||||
|
||||
if ((samples - sample) >= (mt->min_samples - mt->current_sample)) {
|
||||
|
|
Loading…
Reference in New Issue