Ignore:
Timestamp:
Nov 19, 2008 2:48:10 PM (15 years ago)
Author:
nanang
Message:

Ticket #676: Updated default value of maximum silence theshold setting to MAXUINT16+1 (feature is disabled).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r2294 r2368  
    426426 * Suggested or default threshold to be set for fixed silence detection 
    427427 * or as starting threshold for adaptive silence detection. The threshold 
    428  * has the range from zero to 255. 
     428 * has the range from zero to 0xFFFF. 
    429429 */ 
    430430#ifndef PJMEDIA_SILENCE_DET_THRESHOLD 
     
    438438 * level. 
    439439 * 
    440  * Default: 25 
     440 * Use 0x10000 (or greater) to disable this feature. 
     441 * 
     442 * Default: 0x10000 (disabled) 
    441443 */ 
    442444#ifndef PJMEDIA_SILENCE_DET_MAX_THRESHOLD 
    443 #   define PJMEDIA_SILENCE_DET_MAX_THRESHOLD    25 
     445#   define PJMEDIA_SILENCE_DET_MAX_THRESHOLD    0x10000 
    444446#endif 
    445447 
Note: See TracChangeset for help on using the changeset viewer.