aboutsummaryrefslogtreecommitdiffstats
path: root/dsp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-30 14:27:36 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-30 14:27:36 +0000
commit98d891c53e21627e522f327e3c3d17acd64e1a67 (patch)
tree0aca29e1a1d9719951150468ae14618c170eae67 /dsp.c
parentcbb83b962aefb2b8c2b9d5115b2c7a2d0d8e0f37 (diff)
Add brazil detection (bug #2872)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4358 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 726d96be5..2dec37be1 100755
--- a/dsp.c
+++ b/dsp.c
@@ -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 @@ static struct progalias {
{ "us", PROG_MODE_NA },
{ "ca", PROG_MODE_NA },
{ "cr", PROG_MODE_CR },
+ { "br", PROG_MODE_CR },
};
static struct progress {