summaryrefslogtreecommitdiff
path: root/bridges/bridge_softmix.c
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-02-01 11:36:00 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-02-01 11:36:00 -0600
commitf041bc7863833c2d6b90b585694132171bc27aa2 (patch)
tree79be6672c132450deb1e341d5c36a4b17ddb5293 /bridges/bridge_softmix.c
parentb1484537084ed560df14b8c0bb563948411fcbbb (diff)
parentb9024197abb490ea2cada4046446023c2179542e (diff)
Merge "app_confbridge: Update dsp_silence_threshold and dsp_talking_threshold docs."
Diffstat (limited to 'bridges/bridge_softmix.c')
-rw-r--r--bridges/bridge_softmix.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c
index 1ff92ad91..c26636701 100644
--- a/bridges/bridge_softmix.c
+++ b/bridges/bridge_softmix.c
@@ -53,9 +53,16 @@
/*! \brief Number of mixing iterations to perform between gathering statistics. */
#define SOFTMIX_STAT_INTERVAL 100
-/* This is the threshold in ms at which a channel's own audio will stop getting
- * mixed out its own write audio stream because it is not talking. */
+/*!
+ * \brief Default time in ms of silence necessary to declare talking stopped by the bridge.
+ *
+ * \details
+ * This is the time at which a channel's own audio will stop getting
+ * mixed out of its own write audio stream because it is no longer talking.
+ */
#define DEFAULT_SOFTMIX_SILENCE_THRESHOLD 2500
+
+/*! Default minimum average magnitude threshold to determine talking by the DSP. */
#define DEFAULT_SOFTMIX_TALKING_THRESHOLD 160
#define SOFTBRIDGE_VIDEO_DEST_PREFIX "softbridge_dest"