Changed audio volume setting from "media" to "ringer" so it can be controlled by Volume Up/Down keys while app is in background.

This commit is contained in:
pelya
2010-10-26 12:33:19 +03:00
parent fa8f6d4aaa
commit 3135fe0b56

View File

@@ -1,5 +1,5 @@
// This string is autogenerated by ChangeAppSettings.sh, do not change spaces amount // This string is autogenerated by ChangeAppSettings.sh, do not change spaces amount
package org.scummvm.sdl; package com.sourceforge.sc2;
import android.app.Activity; import android.app.Activity;
@@ -59,7 +59,7 @@ class AudioThread {
} }
mAudioBuffer = new byte[bufSize]; mAudioBuffer = new byte[bufSize];
mAudio = new AudioTrack(AudioManager.STREAM_MUSIC, mAudio = new AudioTrack(AudioManager.STREAM_RING,
rate, rate,
channels, channels,
encoding, encoding,