[Asterisk-cvs] asterisk dsp.c,1.29.2.3,1.29.2.4

russell at lists.digium.com russell at lists.digium.com
Mon Jan 17 14:58:56 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv29668

Modified Files:
      Tag: v1-0
	dsp.c 
Log Message:
update unused code ... (bug #3342)


Index: dsp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dsp.c,v
retrieving revision 1.29.2.3
retrieving revision 1.29.2.4
diff -u -d -r1.29.2.3 -r1.29.2.4
--- dsp.c	13 Jan 2005 05:06:49 -0000	1.29.2.3
+++ dsp.c	17 Jan 2005 21:02:13 -0000	1.29.2.4
@@ -1136,8 +1136,9 @@
 			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:




More information about the svn-commits mailing list