mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Implement audio_mixer_stopped differently
This commit is contained in:
parent
b8cea125e4
commit
c21abd28f8
@ -40,6 +40,11 @@ struct audio_mixer_handle
|
|||||||
|
|
||||||
static void audio_mixer_stopped(audio_mixer_sound_t *sound, unsigned reason)
|
static void audio_mixer_stopped(audio_mixer_sound_t *sound, unsigned reason)
|
||||||
{
|
{
|
||||||
|
if (sound && reason != AUDIO_MIXER_SOUND_REPEATED)
|
||||||
|
{
|
||||||
|
audio_mixer_destroy(sound);
|
||||||
|
audio_set_bool(AUDIO_ACTION_MIXER, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void task_audio_mixer_load_handler(retro_task_t *task)
|
static void task_audio_mixer_load_handler(retro_task_t *task)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user