Commit 6d9ed329 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac

parent ad2ffc33
...@@ -270,8 +270,9 @@ ...@@ -270,8 +270,9 @@
} }
if (assistantSpeaking) { if (assistantSpeaking) {
// Mute the audio if the assistant is speaking
analyser.maxDecibels = 0; analyser.maxDecibels = 0;
analyser.minDecibels = -10; analyser.minDecibels = -1;
} else { } else {
analyser.minDecibels = MIN_DECIBELS; analyser.minDecibels = MIN_DECIBELS;
analyser.maxDecibels = -30; analyser.maxDecibels = -30;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment