[Asterisk-cvs] asterisk dsp.c,1.32,1.33

markster at lists.digium.com markster at lists.digium.com
Tue Nov 30 09:28:54 CST 2004


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

Modified Files:
	dsp.c 
Log Message:
Add brazil detection (bug #2872)


Index: dsp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dsp.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- dsp.c	17 Nov 2004 05:55:26 -0000	1.32
+++ dsp.c	30 Nov 2004 14:27:36 -0000	1.33
@@ -45,7 +45,7 @@
 
 /* Number of goertzels for progress detect */
 #define GSAMP_SIZE_NA 183			/* North America - 350, 440, 480, 620, 950, 1400, 1800 Hz */
-#define GSAMP_SIZE_CR 188			/* Costa Rica - Only care about 425 Hz */
+#define GSAMP_SIZE_CR 188			/* Costa Rica, Brazil - Only care about 425 Hz */
 
 #define PROG_MODE_NA		0
 #define PROG_MODE_CR		1	
@@ -59,7 +59,7 @@
 #define HZ_1400 5
 #define HZ_1800 6
 
-/* For CR modes */
+/* For CR/BR modes */
 #define HZ_425	0
 
 static struct progalias {
@@ -69,6 +69,7 @@
 	{ "us", PROG_MODE_NA },
 	{ "ca", PROG_MODE_NA },
 	{ "cr", PROG_MODE_CR },
+	{ "br", PROG_MODE_CR },
 };
 
 static struct progress {




More information about the svn-commits mailing list