Added lot of new config options - onscreen keyboard size, accelerometer sensitivity, trackball dampening, and audio buffer size (for slow devices)

This commit is contained in:
pelya
2010-08-21 12:25:32 +03:00
parent 316b1385da
commit de1f89b0c5
15 changed files with 372 additions and 92 deletions

View File

@@ -50,6 +50,8 @@ class AudioThread {
if( AudioTrack.getMinBufferSize( rate, channels, encoding ) > bufSize )
bufSize = AudioTrack.getMinBufferSize( rate, channels, encoding );
bufSize = bufSize * (Globals.AudioBufferConfig * 2 + 1);
mAudioBuffer = new byte[bufSize];
mAudio = new AudioTrack(AudioManager.STREAM_MUSIC,