mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Android: Fixed two warnings about unused variables.
This commit is contained in:
parent
d110ed4c25
commit
c64f23e6f2
|
|
@ -718,10 +718,8 @@ void Android_JNI_FlushCapturedAudio(void)
|
|||
}
|
||||
#else
|
||||
if (captureBuffer16Bit) {
|
||||
const jint len = (*env)->GetArrayLength(env, (jshortArray)captureBuffer);
|
||||
(*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadShortBuffer, (jshortArray)captureBuffer, JNI_FALSE);
|
||||
} else {
|
||||
const jint len = (*env)->GetArrayLength(env, (jbyteArray)captureBuffer);
|
||||
(*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadByteBuffer, (jbyteArray)captureBuffer, JNI_FALSE);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user