Changeset 2215
- Timestamp:
- Aug 14, 2008 5:00:21 PM (16 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r2214 r2215 430 430 431 431 /** 432 * Maximum silence threshold in the silence detector. The silence detector 433 * will not cut the audio transmission if the audio level is above this 434 * level. 435 * 436 * Default: 25 437 */ 438 #ifndef PJMEDIA_SILENCE_DET_MAX_THRESHOLD 439 # define PJMEDIA_SILENCE_DET_MAX_THRESHOLD 25 440 #endif 441 442 443 /** 432 444 * Speex Accoustic Echo Cancellation (AEC). 433 445 * By default is enabled. -
pjproject/trunk/pjmedia/src/pjmedia/silencedet.c
r2039 r2215 268 268 } 269 269 270 if (new_threshold > PJMEDIA_SILENCE_DET_MAX_THRESHOLD) 271 new_threshold = PJMEDIA_SILENCE_DET_MAX_THRESHOLD; 272 270 273 if (updated && sd->cur_threshold != new_threshold) { 271 274 PJ_LOG(5,(sd->objname,
Note: See TracChangeset
for help on using the changeset viewer.