mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
avoid reopening the microphone if it was already opened
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user