diff options
author | Jim Dixon <telesistant@hotmail.com> | 2004-05-31 16:04:10 +0000 |
---|---|---|
committer | Jim Dixon <telesistant@hotmail.com> | 2004-05-31 16:04:10 +0000 |
commit | 8968d5097601da69040b9966f985cf9dfaa1fe91 (patch) | |
tree | 2f913772b83fde4f1af5052378bc1d04e8f7c381 /dsp.c | |
parent | b0f9569b5c4007721c216a8080b4dce113ad1fd6 (diff) |
Complete re-vamp of Radio Repeater application (app_rpt) and VERY minor changes in chan_zap (to allow pseudo-channels to work properly (finally!)) and in dsp.c to allow for super-relaxed DTMF decoding which radio systems need to function properly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'dsp.c')
-rwxr-xr-x | dsp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -123,7 +123,11 @@ static struct progress { #define FAX_THRESHOLD 8.0e7 #define FAX_2ND_HARMONIC 2.0 /* 4dB */ #define DTMF_NORMAL_TWIST 6.3 /* 8dB */ +#ifdef RADIO_RELAX +#define DTMF_REVERSE_TWIST ((digitmode & DSP_DIGITMODE_RELAXDTMF) ? 6.5 : 2.5) /* 4dB normal */ +#else #define DTMF_REVERSE_TWIST ((digitmode & DSP_DIGITMODE_RELAXDTMF) ? 4.0 : 2.5) /* 4dB normal */ +#endif #define DTMF_RELATIVE_PEAK_ROW 6.3 /* 8dB */ #define DTMF_RELATIVE_PEAK_COL 6.3 /* 8dB */ #define DTMF_2ND_HARMONIC_ROW ((digitmode & DSP_DIGITMODE_RELAXDTMF) ? 1.7 : 2.5) /* 4dB normal */ |