aboutsummaryrefslogtreecommitdiff
path: root/apps/OboeTester/app/src/main/cpp/jni-bridge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/OboeTester/app/src/main/cpp/jni-bridge.cpp')
-rw-r--r--apps/OboeTester/app/src/main/cpp/jni-bridge.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/OboeTester/app/src/main/cpp/jni-bridge.cpp b/apps/OboeTester/app/src/main/cpp/jni-bridge.cpp
index 092d0917..e3fd803d 100644
--- a/apps/OboeTester/app/src/main/cpp/jni-bridge.cpp
+++ b/apps/OboeTester/app/src/main/cpp/jni-bridge.cpp
@@ -169,6 +169,11 @@ Java_com_mobileer_oboetester_TestAudioActivity_stopNative(JNIEnv *env, jobject)
}
JNIEXPORT jint JNICALL
+Java_com_mobileer_oboetester_TestAudioActivity_releaseNative(JNIEnv *env, jobject) {
+ return (jint) engine.getCurrentActivity()->release();
+}
+
+JNIEXPORT jint JNICALL
Java_com_mobileer_oboetester_TestAudioActivity_getFramesPerCallback(JNIEnv *env, jobject) {
return (jint) engine.getCurrentActivity()->getFramesPerCallback();
}