diff --git a/Android/jni/android_globals.h b/Android/jni/android_globals.h index aa522c93..c07fe796 100644 --- a/Android/jni/android_globals.h +++ b/Android/jni/android_globals.h @@ -10,6 +10,6 @@ */ extern unsigned long android_deviceSampleRateHz; -extern unsigned long android_monoBufferSize; -extern unsigned long android_stereoBufferSize; +extern unsigned long android_monoBufferSubmitSizeSamples; +extern unsigned long android_stereoBufferSubmitSizeSamples; diff --git a/Android/jni/jnihooks.c b/Android/jni/jnihooks.c index 6b4319c4..756cd152 100644 --- a/Android/jni/jnihooks.c +++ b/Android/jni/jnihooks.c @@ -15,8 +15,8 @@ #include unsigned long android_deviceSampleRateHz = 0; -unsigned long android_monoBufferSize = 0; -unsigned long android_stereoBufferSize = 0; +unsigned long android_monoBufferSubmitSizeSamples = 0; +unsigned long android_stereoBufferSubmitSizeSamples = 0; enum { ANDROID_ACTION_DOWN = 0x0, @@ -99,8 +99,8 @@ void Java_org_deadc0de_apple2ix_Apple2Activity_nativeOnCreate(JNIEnv *env, jobje LOG("nativeOnCreate(%s)...", data_dir); android_deviceSampleRateHz = (unsigned long)sampleRate; - android_monoBufferSize = (unsigned long)monoBufferSize; - android_stereoBufferSize = (unsigned long)stereoBufferSize; + android_monoBufferSubmitSizeSamples = (unsigned long)monoBufferSize; + android_stereoBufferSubmitSizeSamples = (unsigned long)stereoBufferSize; #if TESTING _run_tests();