Skip to content

Commit

Permalink
avoid reopening the microphone if it was already opened
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisotura committed Nov 17, 2024
1 parent 871a167 commit 023dc0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/qt_sdl/EmuInstanceAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ void EmuInstance::audioMute()

void EmuInstance::micOpen()
{
if (micDevice) return;

if (micInputType != micInputType_External)
{
micDevice = 0;
Expand Down

0 comments on commit 023dc0c

Please sign in to comment.