Made audio single-threaded - ITCRASHES nOW, and doesn't work with Android 1.6

This commit is contained in:
pelya
2010-06-08 20:09:35 +03:00
parent 3efc812191
commit 3aa634d175
9 changed files with 116 additions and 541 deletions

View File

@@ -67,13 +67,7 @@ public class MainActivity extends Activity {
{
if( wakeLock != null )
wakeLock.release();
if( mAudioThread != null )
{
mAudioThread.interrupt();
try {
mAudioThread.join();
} catch( java.lang.InterruptedException e ) { };
}
if( mGLView != null )
mGLView.exitApp();
super.onStop();