mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-30 12:33:15 +00:00
Renamed to get Android build working
This commit is contained in:
parent
c036c8dc84
commit
20b3e25915
@ -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;
|
||||
|
||||
|
@ -15,8 +15,8 @@
|
||||
#include <jni.h>
|
||||
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user