changeset 595:695a623eed63

Add a comment about no-sound support to the relevant part in audio setup error checking.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 12 Apr 2013 06:06:46 +0300
parents 17bf1704d42e
children 9861568d87ac
files dmsimple.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmsimple.c	Fri Apr 12 05:56:56 2013 +0300
+++ b/dmsimple.c	Fri Apr 12 06:06:46 2013 +0300
@@ -401,7 +401,8 @@
     if (SDL_OpenAudio(&engine.optAfmt, NULL) < 0)
     {
         dmError("Couldn't open SDL audio: %s\n", SDL_GetError());
-//        goto error_exit;
+        // We'll let this pass, as we want to support no-sound.
+        // goto error_exit;
     }
 
     // Initialize SDL video