comparison 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
comparison
equal deleted inserted replaced
4723:74da47b2f5b7 4724:d86332c0fb9b
426 426
427 __android_log_print(ANDROID_LOG_INFO, "SDL","Playing\n"); 427 __android_log_print(ANDROID_LOG_INFO, "SDL","Playing\n");
428 428
429 while (SDL_GetAudioStatus() == SDL_AUDIO_PLAYING){ 429 while (SDL_GetAudioStatus() == SDL_AUDIO_PLAYING){
430 //__android_log_print(ANDROID_LOG_INFO, "SDL","Still playing\n"); 430 //__android_log_print(ANDROID_LOG_INFO, "SDL","Still playing\n");
431 //SDL_Delay(100); 431 SDL_Delay(100);
432 } 432 }
433 433
434 __android_log_print(ANDROID_LOG_INFO, "SDL","Closing down\n"); 434 __android_log_print(ANDROID_LOG_INFO, "SDL","Closing down\n");
435 435
436 /* Clean up on signal */ 436 /* Clean up on signal */
509 509
510 /* resize the initial window */ 510 /* resize the initial window */
511 resizeWindow( SCREEN_WIDTH, SCREEN_HEIGHT ); 511 resizeWindow( SCREEN_WIDTH, SCREEN_HEIGHT );
512 512
513 513
514 //testAudio(); 514 testAudio();
515 515
516 516
517 /* wait for events */ 517 /* wait for events */
518 while ( !done ) 518 while ( !done )
519 { 519 {