changeset 236:034b2e56f405

Fixed some tabs.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 19 Jan 2002 23:27:42 +0000
parents 2b9131a7653c
children ceadd952319a
files playsound/playsound.c
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/playsound/playsound.c	Sat Jan 19 20:13:42 2002 +0000
+++ b/playsound/playsound.c	Sat Jan 19 23:27:42 2002 +0000
@@ -510,11 +510,13 @@
         } /* while */
         SDL_PauseAudio(1);
 
-	/* Sleep two buffers' worth of audio before closing, in order
-	   to allow the playback to finish. This isn't always enough;
-	   perhaps SDL needs a way to explicitly wait for device drain? */
-	delay = 2 * 1000 * sdl_desired.samples / sdl_desired.freq;
-	SDL_Delay(delay);
+            /*
+             * Sleep two buffers' worth of audio before closing, in order
+             *  to allow the playback to finish. This isn't always enough;
+             *   perhaps SDL needs a way to explicitly wait for device drain?
+             */
+        delay = 2 * 1000 * sdl_desired.samples / sdl_desired.freq;
+        SDL_Delay(delay);
 
         if (sample->flags & SOUND_SAMPLEFLAG_ERROR)
         {