FMOD Engine User Manual 2.03
APIs and types for Android platform, see fmod_android.h
Call to uninitialize FMOD from a native activity.
FMOD_RESULT FMOD_Android_JNI_Close();
RESULT FMOD.Android.JNI_Close();
Not supported for JavaScript.
When using a native activity, you will need to call this function after calling System::release.
See Also: Java
Call to initialize FMOD from a native activity.
FMOD_RESULT FMOD_Android_JNI_Init(
JavaVM *vm,
jobject javaActivity
);
FMOD_RESULT FMOD.Android.JNI_Init(
IntPtr vm,
IntPtr javaActivity
);
Not supported for JavaScript.
ANativeActivity::vm
JavaVM.ANativeActivity::clazz
jobject.When using a native activity, you will need to call this function before making calls into the FMOD API.
The vm must be attached to the current thread before being passed to this function. For example:
mApp->activity->vm->AttachCurrentThread(&mJniEnv, NULL);
FMOD_Android_JNI_Init(mApp->activity->vm, mApp->activity->clazz);
See Also: Java