summaryrefslogtreecommitdiff
path: root/include/asterisk/dsp.h
diff options
context:
space:
mode:
authorGregory Nietsky <gregory@distrotech.co.za>2011-07-25 14:07:01 +0000
committerGregory Nietsky <gregory@distrotech.co.za>2011-07-25 14:07:01 +0000
commit3b1cc6de8d1d9e481eb51d94ccbc1734b79894b9 (patch)
treeda557369b0fb13859b83cfda9e74686dc2960c23 /include/asterisk/dsp.h
parent5c627eba2b9161e985e9749955746ba61f992dc0 (diff)
dsp_process was enhanced to work with alaw and ulaw in addition to slin.
noticed that some functions could be refactored here it is. Reported by: irroot Tested by: irroot, mnicholson Review: https://reviewboard.asterisk.org/r/1304/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@329432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/dsp.h')
-rw-r--r--include/asterisk/dsp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asterisk/dsp.h b/include/asterisk/dsp.h
index 78c9a74ac..f82f08a94 100644
--- a/include/asterisk/dsp.h
+++ b/include/asterisk/dsp.h
@@ -43,9 +43,10 @@
#define DSP_FEATURE_CALL_PROGRESS (DSP_PROGRESS_TALK | DSP_PROGRESS_RINGING | DSP_PROGRESS_BUSY | DSP_PROGRESS_CONGESTION)
#define DSP_FEATURE_WAITDIALTONE (1 << 20) /*!< Enable dial tone detection */
-#define DSP_FAXMODE_DETECT_CNG (1 << 0)
-#define DSP_FAXMODE_DETECT_CED (1 << 1)
-#define DSP_FAXMODE_DETECT_V21 (1 << 2)
+#define DSP_FAXMODE_DETECT_CNG (1 << 0)
+#define DSP_FAXMODE_DETECT_CED (1 << 1)
+#define DSP_FAXMODE_DETECT_V21 (1 << 2)
+#define DSP_FAXMODE_DETECT_SQUELCH (1 << 3)
#define DSP_FAXMODE_DETECT_ALL (DSP_FAXMODE_DETECT_CNG | DSP_FAXMODE_DETECT_CED | DSP_FAXMODE_DETECT_V21)
#define DSP_TONE_STATE_SILENCE 0