summaryrefslogtreecommitdiff
path: root/dsp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-11-30 14:27:36 +0000
committerMark Spencer <markster@digium.com>2004-11-30 14:27:36 +0000
commit15ba447e534d92c80c4ac559357a1a27207e528b (patch)
tree0aca29e1a1d9719951150468ae14618c170eae67 /dsp.c
parenta8de8a68b44982bc954d92c7a413c4c556eaa71f (diff)
Add brazil detection (bug #2872)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 {