summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-11-19 14:48:10 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-11-19 14:48:10 +0000
commit79c94381fbd13ef276a89f3a823cb5262a5c650b (patch)
tree1ec3fcd3274014d10858ae202a3539298e76c5f9 /pjmedia/include
parente9d5f420afbce16f5fefbccb6167d5249c4bc414 (diff)
Ticket #676: Updated default value of maximum silence theshold setting to MAXUINT16+1 (feature is disabled).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2368 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/config.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h
index 2f008dad..170797dd 100644
--- a/pjmedia/include/pjmedia/config.h
+++ b/pjmedia/include/pjmedia/config.h
@@ -425,7 +425,7 @@
/**
* Suggested or default threshold to be set for fixed silence detection
* or as starting threshold for adaptive silence detection. The threshold
- * has the range from zero to 255.
+ * has the range from zero to 0xFFFF.
*/
#ifndef PJMEDIA_SILENCE_DET_THRESHOLD
# define PJMEDIA_SILENCE_DET_THRESHOLD 4
@@ -437,10 +437,12 @@
* will not cut the audio transmission if the audio level is above this
* level.
*
- * Default: 25
+ * Use 0x10000 (or greater) to disable this feature.
+ *
+ * Default: 0x10000 (disabled)
*/
#ifndef PJMEDIA_SILENCE_DET_MAX_THRESHOLD
-# define PJMEDIA_SILENCE_DET_MAX_THRESHOLD 25
+# define PJMEDIA_SILENCE_DET_MAX_THRESHOLD 0x10000
#endif