mirror of
https://github.com/yawut/SDL.git
synced 2026-06-13 12:10:35 -05:00
Changed static variable to local variable in implementation for Android.
This commit is contained in:
parent
fb577213d7
commit
5c73fcd277
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user