mgi 两个音频合并为一个 丧心病狂的 风格割裂

This commit is contained in:
xuhuixiang
2025-04-18 14:29:47 +08:00
parent 44aaf80a80
commit 08d67f0fed
9 changed files with 29 additions and 10 deletions

View File

@@ -1135,12 +1135,12 @@ public class MainActivity2 extends AppCompatActivity {
private void toPlayers() { private void toPlayers() {
if (mp == null) { if (mp == null) {
if (rawRes == -1) { if (rawRes == -1) {
int rands = new Random().nextInt(2); // int rands = new Random().nextInt(2);
if (rands == 0) { // if (rands == 0) {
rawRes = R.raw.title; rawRes = R.raw.title;
} else { // } else {
rawRes = R.raw.town; // rawRes = R.raw.town;
} // }
} }
mp = MediaPlayer.create(MainActivity2.this, rawRes); mp = MediaPlayer.create(MainActivity2.this, rawRes);
mp.setAudioAttributes(new AudioAttributes mp.setAudioAttributes(new AudioAttributes

Binary file not shown.

Binary file not shown.

View File

@@ -7,7 +7,7 @@ android {
compileSdkVersion 31 compileSdkVersion 31
buildToolsVersion "30.0.3" buildToolsVersion "30.0.3"
defaultConfig { defaultConfig {
applicationId "com.web.nep88" applicationId "com.web.npe88new"
minSdkVersion 24 minSdkVersion 24
targetSdkVersion 31 targetSdkVersion 31
versionCode rootProject.ext.versionCode versionCode rootProject.ext.versionCode

View File

@@ -23,6 +23,25 @@
"other_platform_oauth_client": [] "other_platform_oauth_client": []
} }
} }
},
{
"client_info": {
"mobilesdk_app_id": "1:101415813562:android:23f9f3f2ae6adf0ba75d83",
"android_client_info": {
"package_name": "com.web.npe88new"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyDSUOONHObpg8Uwe4gArq8GXUSn70N5Rxk"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
} }
], ],
"configuration_version": "1" "configuration_version": "1"

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.web.nep88"> package="com.web.npe88new">
<uses-feature <uses-feature
android:name="android.hardware.camera" android:name="android.hardware.camera"

View File

@@ -1,4 +1,4 @@
package com.web.nep88; package com.web.npe88new;
import android.content.pm.PackageInfo; import android.content.pm.PackageInfo;

View File

@@ -1,4 +1,4 @@
package com.web.nep88; package com.web.npe88new;
import android.app.NotificationChannel; import android.app.NotificationChannel;
import android.app.NotificationManager; import android.app.NotificationManager;

View File

@@ -1,4 +1,4 @@
package com.web.nep88; package com.web.npe88new;
import android.app.Application; import android.app.Application;
import android.content.Context; import android.content.Context;