avoid reopening the microphone if it was already opened

This commit is contained in:
Arisotura 2024-11-17 15:47:55 +01:00
parent 871a167d8b
commit 023dc0c446
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ void EmuInstance::audioMute()
void EmuInstance::micOpen() void EmuInstance::micOpen()
{ {
if (micDevice) return;
if (micInputType != micInputType_External) if (micInputType != micInputType_External)
{ {
micDevice = 0; micDevice = 0;