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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user