From 678aa186ea975c6f2362b686606f1be885f2f2ea Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 28 Oct 2023 12:33:27 -0300 Subject: [PATCH] Increase retry frequency --- src/js/components/AudioControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/components/AudioControl.tsx b/src/js/components/AudioControl.tsx index 21d5f62..e03d189 100644 --- a/src/js/components/AudioControl.tsx +++ b/src/js/components/AudioControl.tsx @@ -31,7 +31,7 @@ export function AudioControl({ const recover = () => { if (!soundOn) return; onStall(); - audio.play().catch(() => setTimeout(recover, 1000)); + audio.play().catch(() => setTimeout(recover, 50)); }; useEffect(() => {