Auto-pause on app switch. Will be made conditional in the next commit.

This commit is contained in:
Henrik Rydgård
2021-08-11 09:07:04 +02:00
parent fc91ff3dba
commit 81b4c3b376
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -790,6 +790,8 @@ bool audioRecording_State() {
extern "C" void Java_org_ppsspp_ppsspp_NativeApp_resume(JNIEnv *, jclass) {
INFO_LOG(SYSTEM, "NativeApp.resume() - resuming audio");
AndroidAudio_Resume(g_audioState);
NativeMessageReceived("app_resumed", "");
}
extern "C" void Java_org_ppsspp_ppsspp_NativeApp_pause(JNIEnv *, jclass) {