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,7 +769,9 @@ bool audio_driver_ctl(enum rarch_audio_ctl_state state, void *data)
|
|||||||
case RARCH_AUDIO_CTL_INIT:
|
case RARCH_AUDIO_CTL_INIT:
|
||||||
return init_audio();
|
return init_audio();
|
||||||
case RARCH_AUDIO_CTL_DESTROY:
|
case RARCH_AUDIO_CTL_DESTROY:
|
||||||
current_audio = NULL;
|
audio_driver_active = false;
|
||||||
|
audio_driver_data_own = false;
|
||||||
|
current_audio = NULL;
|
||||||
break;
|
break;
|
||||||
case RARCH_AUDIO_CTL_DESTROY_DATA:
|
case RARCH_AUDIO_CTL_DESTROY_DATA:
|
||||||
audio_driver_context_audio_data = NULL;
|
audio_driver_context_audio_data = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user