aboutsummaryrefslogtreecommitdiffstats
path: root/dsp.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-17 21:02:13 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-17 21:02:13 +0000
commit8f287de5e2866d83814b6a3402fbe32ee8f4445a (patch)
tree67718a5bd0a797c37eb88e0540e0beb7e7979192 /dsp.c
parent5a2eb646b63f02e8fa358a4350035400f981aa91 (diff)
update unused code ... (bug #3342)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4825 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dsp.c b/dsp.c
index 6053d2c55..a7566f0da 100755
--- a/dsp.c
+++ b/dsp.c
@@ -1136,8 +1136,9 @@ static int __ast_dsp_call_progress(struct ast_dsp *dsp, short *s, int len)
for (y=0;y<7;y++)
hz[y] = goertzel_result(&dsp->freqs[y]);
#if 0
- printf("Got whole dsp state: 350: %e, 440: %e, 480: %e, 620: %e, 950: %e, 1400: %e, 1800: %e, Energy: %e\n",
- hz_350, hz_440, hz_480, hz_620, hz_950, hz_1400, hz_1800, dsp->genergy);
+ printf("\n350: 425: 440: 480: 620: 950: 1400: 1800: Energy: \n");
+ printf("%.2e %.2e %.2e %.2e %.2e %.2e %.2e %.2e %.2e\n",
+ hz[HZ_350], hz[HZ_425], hz[HZ_440], hz[HZ_480], hz[HZ_620], hz[HZ_950], hz[HZ_1400], hz[HZ_1800], dsp->genergy);
#endif
switch(dsp->progmode) {
case PROG_MODE_NA: