From f1a56cd5656f73578f472a48fd5e1176e89f609b Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 30 Jan 2015 23:18:14 +0100 Subject: [PATCH] Changed static variable to local variable in implementation for Android. --- src/core/android/SDL_android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index a9089548b..b29f7e4ee 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -548,12 +548,12 @@ int Android_JNI_SetupThread(void) * Audio support */ static jboolean audioBuffer16Bit = JNI_FALSE; -static jboolean audioBufferStereo = JNI_FALSE; static jobject audioBuffer = NULL; static void* audioBufferPinned = NULL; int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames) { + jboolean audioBufferStereo; int audioBufferFrames; JNIEnv *env = Android_JNI_GetEnv();