mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Cleanups
This commit is contained in:
parent
fd3025ff40
commit
73cc655de7
@ -956,20 +956,16 @@ static void audio_driver_mixer_remove_stream(unsigned i)
|
||||
switch (audio_mixer_streams[i].state)
|
||||
{
|
||||
case AUDIO_STREAM_STATE_PLAYING:
|
||||
audio_mixer_stop(voice);
|
||||
#if 1
|
||||
/* TODO - crashes at this part */
|
||||
if (voice)
|
||||
audio_mixer_stop(voice);
|
||||
if (handle)
|
||||
audio_mixer_destroy(handle);
|
||||
#endif
|
||||
break;
|
||||
case AUDIO_STREAM_STATE_PLAYING_LOOPED:
|
||||
audio_mixer_stop(voice);
|
||||
#if 1
|
||||
/* TODO - crashes at this part */
|
||||
if (voice)
|
||||
audio_mixer_stop(voice);
|
||||
if (handle)
|
||||
audio_mixer_destroy(handle);
|
||||
#endif
|
||||
break;
|
||||
case AUDIO_STREAM_STATE_STOPPED:
|
||||
if (handle)
|
||||
|
Loading…
Reference in New Issue
Block a user