From 442aee6499c621b60893a99bba63298458dd2953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Sun, 26 Jan 2014 16:40:08 +0100 Subject: [PATCH] FGCom: add silence threshold setting Require commit 3254f54f9ed8917f7cd21bcdb8b3e74b9d4c14a9 from flightgear --- Protocol/fgcom.xml | 7 +++++++ gui/dialogs/fgcom.xml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/Protocol/fgcom.xml b/Protocol/fgcom.xml index fea23d11e..c31876584 100644 --- a/Protocol/fgcom.xml +++ b/Protocol/fgcom.xml @@ -154,6 +154,13 @@ /sim/sound/atc/volume + + silence-threshold + double + SILENCE_THD=%1.1f + /sim/fgcom/silence-threshold + + diff --git a/gui/dialogs/fgcom.xml b/gui/dialogs/fgcom.xml index d7959550d..b0e13734a 100644 --- a/gui/dialogs/fgcom.xml +++ b/gui/dialogs/fgcom.xml @@ -237,6 +237,36 @@ true /sim/fgcom/speaker-level + + + 5 + 0 + + right + + + 5 + 1 + left + silence-thd + + -60.0 + 0.0 + 1 + /sim/fgcom/silence-threshold + + dialog-apply + silence-thd + + + + 5 + 2 + + %.1f + true + /sim/fgcom/silence-threshold +