summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/SDL_mixer
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/SDL_mixer')
-rw-r--r--apps/plugins/sdl/SDL_mixer/mixer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/sdl/SDL_mixer/mixer.c b/apps/plugins/sdl/SDL_mixer/mixer.c
index a24a0e7c1d..32c6c8449f 100644
--- a/apps/plugins/sdl/SDL_mixer/mixer.c
+++ b/apps/plugins/sdl/SDL_mixer/mixer.c
@@ -412,7 +412,8 @@ int Mix_OpenAudio(int frequency, Uint16 format, int nchannels, int chunksize)
412 return(0); 412 return(0);
413 } 413 }
414 while ( audio_opened ) { 414 while ( audio_opened ) {
415 Mix_CloseAudio(); 415 Mix_CloseAudio();
416 rb->yield();
416 } 417 }
417 } 418 }
418 419