mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Style nit
This commit is contained in:
parent
affb259409
commit
19813a8958
@ -430,6 +430,7 @@ static bool audio_driver_init_internal(bool audio_cb_inited)
|
||||
audio_driver_input * AUDIO_MAX_RATIO);
|
||||
|
||||
samples_buf = (float*)malloc(outsamples_max * sizeof(float));
|
||||
|
||||
retro_assert(samples_buf != NULL);
|
||||
|
||||
if (!samples_buf)
|
||||
@ -456,8 +457,11 @@ 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 we start muted, stop the audio driver, so subsequent unmute works. */
|
||||
if (!audio_cb_inited && audio_driver_active && settings->audio.mute_enable)
|
||||
/* If we start muted, stop the audio driver,
|
||||
* so subsequent unmute works. */
|
||||
if ( !audio_cb_inited
|
||||
&& audio_driver_active
|
||||
&& settings->audio.mute_enable)
|
||||
audio_driver_stop();
|
||||
|
||||
command_event(CMD_EVENT_DSP_FILTER_INIT, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user