SDL: Fixed launching on Android after audio capture -> recording renaming

From 1cdcb578651a9c295ac1014f67d757bf0395bbfd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 17 Jun 2024 14:44:54 -0700
Subject: [PATCH] Fixed launching on Android after audio capture -> recording
 renaming

---
 src/core/android/SDL_android.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c
index 05e1dd57a9957..b33d420a1e2d5 100644
--- a/src/core/android/SDL_android.c
+++ b/src/core/android/SDL_android.c
@@ -710,15 +710,15 @@ JNIEXPORT void JNICALL SDL_JAVA_AUDIO_INTERFACE(nativeSetupJNI)(JNIEnv *env, jcl
     midAudioClose = (*env)->GetStaticMethodID(env, mAudioManagerClass,
                                               "audioClose", "()V");
     midRecordingOpen = (*env)->GetStaticMethodID(env, mAudioManagerClass,
-                                               "captureOpen", "(IIIII)[I");
+                                               "recordingOpen", "(IIIII)[I");
     midRecordingReadByteBuffer = (*env)->GetStaticMethodID(env, mAudioManagerClass,
-                                                         "captureReadByteBuffer", "([BZ)I");
+                                                         "recordingReadByteBuffer", "([BZ)I");
     midRecordingReadShortBuffer = (*env)->GetStaticMethodID(env, mAudioManagerClass,
-                                                          "captureReadShortBuffer", "([SZ)I");
+                                                          "recordingReadShortBuffer", "([SZ)I");
     midRecordingReadFloatBuffer = (*env)->GetStaticMethodID(env, mAudioManagerClass,
-                                                          "captureReadFloatBuffer", "([FZ)I");
+                                                          "recordingReadFloatBuffer", "([FZ)I");
     midRecordingClose = (*env)->GetStaticMethodID(env, mAudioManagerClass,
-                                                "captureClose", "()V");
+                                                "recordingClose", "()V");
     midAudioSetThreadPriority = (*env)->GetStaticMethodID(env, mAudioManagerClass,
                                                           "audioSetThreadPriority", "(ZI)V");