From 98d891c53e21627e522f327e3c3d17acd64e1a67 Mon Sep 17 00:00:00 2001 From: markster Date: Tue, 30 Nov 2004 14:27:36 +0000 Subject: Add brazil detection (bug #2872) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4358 f38db490-d61c-443f-a65b-d21fe96a405b --- dsp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dsp.c') 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 { -- cgit v1.2.3