fix: reduce microphone gain slider max value from 4.0 to 2.0 to prevent audio distortion
This commit is contained in:
@@ -53,7 +53,7 @@ if audio_mode in ["Webapp", "USB"]:
|
||||
language = st.text_input("Language (ISO 639-3)", value=default_lang)
|
||||
# Gain slider for Webapp mode
|
||||
if audio_mode == "Webapp":
|
||||
mic_gain = st.slider("Microphone Gain", 0.0, 4.0, 1.0, 0.1, help="Adjust microphone volume sent to Auracast")
|
||||
mic_gain = st.slider("Microphone Gain", 0.0, 2.0, 1.0, 0.1, help="Adjust microphone volume sent to Auracast")
|
||||
else:
|
||||
mic_gain = 1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user