mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
avoid reopening the microphone if it was already opened
This commit is contained in:
parent
871a167d8b
commit
023dc0c446
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,8 @@ void EmuInstance::audioMute()
|
|||
|
||||
void EmuInstance::micOpen()
|
||||
{
|
||||
if (micDevice) return;
|
||||
|
||||
if (micInputType != micInputType_External)
|
||||
{
|
||||
micDevice = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue