summaryrefslogtreecommitdiff
path: root/dsp.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-07-25 21:57:14 +0000
committerRussell Bryant <russell@russellbryant.com>2005-07-25 21:57:14 +0000
commit829a14ed0738a5a896f2c39e7acf1735d0d9e40d (patch)
tree9f0108513cdfea76d400c874be22ab8530dce275 /dsp.c
parent6596f8496e7d715eda66c6cc75d1e086b3966f23 (diff)
remove the need to have the BUSYDETECT routine defined in the CFLAGS unless
you want to use one other than the default git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dsp.c b/dsp.c
index 3ea3cf235..3f370f372 100755
--- a/dsp.c
+++ b/dsp.c
@@ -151,6 +151,10 @@ static struct progress {
#define BELL_MF_RELATIVE_PEAK 12.6 /* 11dB */
#endif
+#if !defined(BUSYDETECT_MARTIN) && !defined(BUSYDETECT) && !defined(BUSYDETECT_TONEONLY) && !defined(BUSYDETECT_COMPARE_TONE_AND_SILENCE)
+#define BUSYDETECT_MARTIN
+#endif
+
typedef struct {
float v2;
float v3;