diff android/testproject/jni/lesson05.c @ 4724:d86332c0fb9b

Working on the sound system
author Paul Hunkin <paul@bieh.net>
date Sat, 14 Aug 2010 12:35:21 +1200
parents 74da47b2f5b7
children
line wrap: on
line diff
--- a/android/testproject/jni/lesson05.c	Tue Jul 27 21:58:18 2010 +0200
+++ b/android/testproject/jni/lesson05.c	Sat Aug 14 12:35:21 2010 +1200
@@ -428,7 +428,7 @@
     
     while (SDL_GetAudioStatus() == SDL_AUDIO_PLAYING){
          //__android_log_print(ANDROID_LOG_INFO, "SDL","Still playing\n");
-        //SDL_Delay(100);
+        SDL_Delay(100);
     }
 
      __android_log_print(ANDROID_LOG_INFO, "SDL","Closing down\n");
@@ -511,7 +511,7 @@
     resizeWindow( SCREEN_WIDTH, SCREEN_HEIGHT );
 
 
-    //testAudio();
+    testAudio();
 
 
     /* wait for events */