# HG changeset patch # User Matti Hamalainen # Date 1349021631 -10800 # Node ID 780300a8d322322930fbaa4ab0b6380524a48a6f # Parent a239b7d4e13b502367af467f88811bdc701f8b3f Move SDL_PauseAudio(0) to the "engine" instead of the demo code. diff -r a239b7d4e13b -r 780300a8d322 dmsimple.c --- 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)