mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:17:39 +03:00
25 lines
871 B
C
25 lines
871 B
C
/* package ndk/jni/opus_bridge.c */
|
|
|
|
/*********************************************************************
|
|
* opus_bridge.c
|
|
* Created at: Sun 17 May 2026 22:49:49 +0200
|
|
* Updated at: Sun 17 May 2026 22:49:49 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
|
|
* Contributors:
|
|
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 13 lines)
|
|
* - Cursor Agent (project assistant)
|
|
* Digest: SHA256 0ba245379ed3ff43dcec08a0276292e8fe58be0a189b7736e753f7765a393853
|
|
**********************************************************************/
|
|
#include <jni.h>
|
|
|
|
#ifndef ANDROIDCAST_HAVE_OPUS
|
|
#define ANDROIDCAST_HAVE_OPUS 0
|
|
#endif
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_com_foxx_androidcast_media_codec_jni_NativeCodecBridge_nativeIsOpusAvailable(
|
|
JNIEnv *env, jclass clazz) {
|
|
(void)env;
|
|
(void)clazz;
|
|
return ANDROIDCAST_HAVE_OPUS ? JNI_TRUE : JNI_FALSE;
|
|
}
|