diff src/audio/bsd/SDL_bsdaudio.c @ 2669:e27bdcc80744 gsoc2008_nds

First commit. Added header configs for DS as well as a Makefile. Initial work on framebuffer video driver, currently not functioning as desired.
author Darren Alton <dalton@stevens.edu>
date Tue, 10 Jun 2008 06:45:39 +0000
parents 2e36e0ecde33
children 99210400e8b9
line wrap: on
line diff
--- a/src/audio/bsd/SDL_bsdaudio.c	Wed Apr 23 06:27:10 2008 +0000
+++ b/src/audio/bsd/SDL_bsdaudio.c	Tue Jun 10 06:45:39 2008 +0000
@@ -270,8 +270,7 @@
             || ((written < 0) && ((errno == 0) || (errno == EAGAIN)))) {
             SDL_Delay(1);       /* Let a little CPU time go by */
         }
-    }
-    while (p < written);
+    } while (p < written);
 
     /* If timer synchronization is enabled, set the next write frame */
     if (this->hidden->frame_ticks) {