From e446da41ce1a8eb3d57fe58c1e41131b33dd426d Mon Sep 17 00:00:00 2001 From: davay Date: Wed, 25 Dec 2024 16:22:05 +0700 Subject: [PATCH] fix: audio loop of death fixed )) --- components/state/StateSound.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/state/StateSound.vue b/components/state/StateSound.vue index 784d0511df..006c27c7ac 100644 --- a/components/state/StateSound.vue +++ b/components/state/StateSound.vue @@ -13,7 +13,7 @@ const { mic, input } = useMicrophone(); .i-ph-microphone.z-10.relative(v-if="!mic.opened") .i-ph-microphone-fill.z-10.relative(v-else) .m-0 Mic - button.flex-button(:class="{ active: mic.monitor }", @click="mic.monitor = !mic.monitor", v-tooltip.top="'Connect microphone to output'") + button.flex-button(:style="{backgroundColor:mic.monitor ? '#f227' : ''}" @click="mic.monitor = !mic.monitor", v-tooltip.top="'Connect microphone to output. Be careful with the feedback!'") .i-ph-ear .m-0 Monitoring control-rotary(v-model="mic.volume", :min="0", :max="5", :step="0.001", param="GAIN", v-tooltip.bottom="'Microphone volume'")