changeset 41:780300a8d322

Move SDL_PauseAudio(0) to the "engine" instead of the demo code.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 30 Sep 2012 19:13:51 +0300
parents a239b7d4e13b
children f47011b06d5c
files dmsimple.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmsimple.c	Sun Sep 30 19:13:06 2012 +0300
+++ b/dmsimple.c	Sun Sep 30 19:13:51 2012 +0300
@@ -269,6 +269,7 @@
     if ((err = demoGlobalInit()) != DMERR_OK)
         goto error_exit;
 
+    SDL_PauseAudio(0);
     engine.startTime = SDL_GetTicks();
 
     while (!engine.exitFlag)