Implement audio_mixer_stopped differently

This commit is contained in:
twinaphex 2017-05-15 23:15:22 +02:00
parent b8cea125e4
commit c21abd28f8

View File

@ -40,6 +40,11 @@ struct audio_mixer_handle
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)