Home
last modified time | relevance | path

Searched refs:engineObject (Results 1 – 2 of 2) sorted by relevance

/development/ndk/platforms/android-14/samples/native-media/jni/
Dnative-media-jni.c45 static XAObjectItf engineObject = NULL; variable
250 res = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in Java_com_example_nativemedia_NativeMedia_createEngine()
254 res = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE); in Java_com_example_nativemedia_NativeMedia_createEngine()
258 res = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine); in Java_com_example_nativemedia_NativeMedia_createEngine()
475 if (engineObject != NULL) { in Java_com_example_nativemedia_NativeMedia_shutdown()
476 (*engineObject)->Destroy(engineObject); in Java_com_example_nativemedia_NativeMedia_shutdown()
477 engineObject = NULL; in Java_com_example_nativemedia_NativeMedia_shutdown()
/development/ndk/platforms/android-9/samples/native-audio/jni/
Dnative-audio-jni.c51 static SLObjectItf engineObject = NULL; variable
155 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in Java_com_example_nativeaudio_NativeAudio_createEngine()
160 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in Java_com_example_nativeaudio_NativeAudio_createEngine()
165 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in Java_com_example_nativeaudio_NativeAudio_createEngine()
802 if (engineObject != NULL) { in Java_com_example_nativeaudio_NativeAudio_shutdown()
803 (*engineObject)->Destroy(engineObject); in Java_com_example_nativeaudio_NativeAudio_shutdown()
804 engineObject = NULL; in Java_com_example_nativeaudio_NativeAudio_shutdown()