projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a631f
)
arbitrary formatting change to test mantis change
author
Russell Bryant
<russell@russellbryant.com>
Mon, 9 Jun 2008 16:55:15 +0000
(16:55 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Mon, 9 Jun 2008 16:55:15 +0000
(16:55 +0000)
(closes issue #12824)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121286
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/dsp.c
patch
|
blob
|
history
diff --git
a/main/dsp.c
b/main/dsp.c
index
c0f4746
..
f9c8a2d
100644
(file)
--- a/
main/dsp.c
+++ b/
main/dsp.c
@@
-556,7
+556,6
@@
static int tone_detect(struct ast_dsp *dsp, tone_detect_state_t *s, int16_t *amp
ast_debug(10, "tone %d, Ew=%.2E, Et=%.2E, s/n=%10.2f\n", s->freq, tone_energy, s->energy, tone_energy / (s->energy - tone_energy));
hit = 0;
if (tone_energy > s->energy * s->threshold) {
-
ast_debug(10, "Hit! count=%d\n", s->hit_count);
hit = 1;
}