From 023dc0c446ef35405e6a7e0b102dd2638f7b9e5b Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sun, 17 Nov 2024 15:47:55 +0100 Subject: [PATCH] avoid reopening the microphone if it was already opened --- src/frontend/qt_sdl/EmuInstanceAudio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/qt_sdl/EmuInstanceAudio.cpp b/src/frontend/qt_sdl/EmuInstanceAudio.cpp index 3b222ba0..4952d090 100644 --- a/src/frontend/qt_sdl/EmuInstanceAudio.cpp +++ b/src/frontend/qt_sdl/EmuInstanceAudio.cpp @@ -159,6 +159,8 @@ void EmuInstance::audioMute() void EmuInstance::micOpen() { + if (micDevice) return; + if (micInputType != micInputType_External) { micDevice = 0;