changeset 406:325af3e2cbb3

Reset done_flag between files so everything plays correctly.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 21 Jul 2002 15:18:40 +0000
parents 4ad617261a91
children 1c7ed7097a9c
files playsound/playsound.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/playsound/playsound.c	Thu Jul 18 07:08:23 2002 +0000
+++ b/playsound/playsound.c	Sun Jul 21 15:18:40 2002 +0000
@@ -1024,6 +1024,7 @@
 
         SDL_PauseAudio(0);
 
+        done_flag = 0;  /* the audio callback will flip this flag. */
         while (!done_flag)
         {
             #if ENABLE_EVENTS