Timothy J. Baek 10 месяцев назад
Родитель
Сommit
6d9ed32929
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/lib/components/chat/MessageInput/CallOverlay.svelte

+ 2 - 1
src/lib/components/chat/MessageInput/CallOverlay.svelte

@@ -270,8 +270,9 @@
 				}
 
 				if (assistantSpeaking) {
+					// Mute the audio if the assistant is speaking
 					analyser.maxDecibels = 0;
-					analyser.minDecibels = -10;
+					analyser.minDecibels = -1;
 				} else {
 					analyser.minDecibels = MIN_DECIBELS;
 					analyser.maxDecibels = -30;