/* package ndk/jni/opus_bridge.c */

/*********************************************************************
 * opus_bridge.c
 * Created at: Sun 17 May 2026 22:49:49 +0200
 * Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
 * Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
 * Contributors:
 *    - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 21 lines)
 *    - Cursor Agent (project assistant)
 * Digest: SHA256	401e8483138f40becb1bcd3bfb46693c651c44dbc6f5d85cbcc645df93b51bfb
**********************************************************************/
#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;
}
