Changed static variable to local variable in implementation for Android.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 30 Jan 2015 23:18:14 +0100
changeset 9322a45110bca65e
parent 9321 01966f6feadc
child 9323 91953d0abe82
Changed static variable to local variable in implementation for Android.
src/core/android/SDL_android.c
     1.1 --- a/src/core/android/SDL_android.c	Thu Jan 29 13:33:53 2015 -0800
     1.2 +++ b/src/core/android/SDL_android.c	Fri Jan 30 23:18:14 2015 +0100
     1.3 @@ -548,12 +548,12 @@
     1.4   * Audio support
     1.5   */
     1.6  static jboolean audioBuffer16Bit = JNI_FALSE;
     1.7 -static jboolean audioBufferStereo = JNI_FALSE;
     1.8  static jobject audioBuffer = NULL;
     1.9  static void* audioBufferPinned = NULL;
    1.10  
    1.11  int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames)
    1.12  {
    1.13 +    jboolean audioBufferStereo;
    1.14      int audioBufferFrames;
    1.15  
    1.16      JNIEnv *env = Android_JNI_GetEnv();