Skip to content

Commit

Permalink
Changed static variable to local variable in implementation for Android.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jan 30, 2015
1 parent a725806 commit f1a56cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/android/SDL_android.c
Expand Up @@ -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();
Expand Down

0 comments on commit f1a56cd

Please sign in to comment.