mgi 两个音频合并为一个 丧心病狂的 风格割裂
This commit is contained in:
@@ -1135,12 +1135,12 @@ public class MainActivity2 extends AppCompatActivity {
|
||||
private void toPlayers() {
|
||||
if (mp == null) {
|
||||
if (rawRes == -1) {
|
||||
int rands = new Random().nextInt(2);
|
||||
if (rands == 0) {
|
||||
// int rands = new Random().nextInt(2);
|
||||
// if (rands == 0) {
|
||||
rawRes = R.raw.title;
|
||||
} else {
|
||||
rawRes = R.raw.town;
|
||||
}
|
||||
// } else {
|
||||
// rawRes = R.raw.town;
|
||||
// }
|
||||
}
|
||||
mp = MediaPlayer.create(MainActivity2.this, rawRes);
|
||||
mp.setAudioAttributes(new AudioAttributes
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user