mirror of
https://github.com/libretro/RetroArch
synced 2025-03-18 13:20:57 +00:00
Merge pull request #4275 from Themaister/master
Fix unmute after starting muted.
This commit is contained in:
commit
8b62a4029e
@ -438,6 +438,12 @@ static bool audio_driver_init_internal(bool audio_cb_inited)
|
||||
RARCH_WARN("Audio rate control was desired, but driver does not support needed features.\n");
|
||||
}
|
||||
|
||||
if (!audio_cb_inited && audio_driver_active && settings->audio.mute_enable)
|
||||
{
|
||||
/* If we start muted, stop the audio driver, so subsequent unmute works. */
|
||||
audio_driver_stop();
|
||||
}
|
||||
|
||||
command_event(CMD_EVENT_DSP_FILTER_INIT, NULL);
|
||||
|
||||
audio_driver_free_samples_count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user