[asterisk-commits] tilghman: branch 1.6.1 r158861 - in /branches/1.6.1: ./ main/dsp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 24 15:53:28 CST 2008


Author: tilghman
Date: Mon Nov 24 15:53:28 2008
New Revision: 158861

URL: http://svn.digium.com/view/asterisk?view=rev&rev=158861
Log:
Merged revisions 158857 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158857 | tilghman | 2008-11-24 15:52:34 -0600 (Mon, 24 Nov 2008) | 3 lines
  
  Add a bit of documentation (thanks, I-MOD) on what the silence threshold
  constant actually does and what values are valid for it.
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/main/dsp.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/main/dsp.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/main/dsp.c?view=diff&rev=158861&r1=158860&r2=158861
==============================================================================
--- branches/1.6.1/main/dsp.c (original)
+++ branches/1.6.1/main/dsp.c Mon Nov 24 15:53:28 2008
@@ -105,6 +105,13 @@
 	{ GSAMP_SIZE_UK, { 400 } },                                	/*!< UK */
 };
 
+/*!\brief This value is the minimum threshold, calculated by averaging all
+ * of the samples within a frame, for which a frame is determined to either
+ * be silence (below the threshold) or noise (above the threshold).  Please
+ * note that while the default threshold is an even exponent of 2, there is
+ * no requirement that it be so.  The threshold will accept any value between
+ * 0 and 32767.
+ */
 #define DEFAULT_THRESHOLD	512
 
 enum busy_detect {




More information about the asterisk-commits mailing list