Game audio should be played through music audio stream, or it won't be played over headphones

This commit is contained in:
pelya
2010-11-30 14:03:29 +02:00
parent 7f8d53c57a
commit 6da123b21c

View File

@@ -72,7 +72,7 @@ class AudioThread {
}
mAudioBuffer = new byte[bufSize];
mAudio = new AudioTrack(AudioManager.STREAM_RING,
mAudio = new AudioTrack(AudioManager.STREAM_MUSIC,
rate,
channels,
encoding,