Small tweaks to audio

This commit is contained in:
pelya
2010-08-21 12:29:55 +03:00
parent de1f89b0c5
commit 17707104f7
2 changed files with 5 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ class AudioThread {
if( AudioTrack.getMinBufferSize( rate, channels, encoding ) > bufSize )
bufSize = AudioTrack.getMinBufferSize( rate, channels, encoding );
bufSize = bufSize * (Globals.AudioBufferConfig * 2 + 1);
bufSize = bufSize * ((Globals.AudioBufferConfig * 2.5f) + 1.0f);
mAudioBuffer = new byte[bufSize];