mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 22:03:04 +00:00
Set audio_driver_active to false during AUDIO_DRIVER_CTL_DESTROY
This commit is contained in:
parent
351077dc78
commit
d0b4d36136
@ -769,6 +769,8 @@ bool audio_driver_ctl(enum rarch_audio_ctl_state state, void *data)
|
||||
case RARCH_AUDIO_CTL_INIT:
|
||||
return init_audio();
|
||||
case RARCH_AUDIO_CTL_DESTROY:
|
||||
audio_driver_active = false;
|
||||
audio_driver_data_own = false;
|
||||
current_audio = NULL;
|
||||
break;
|
||||
case RARCH_AUDIO_CTL_DESTROY_DATA:
|
||||
|
Loading…
Reference in New Issue
Block a user