float ARSTREAM_ReaderTb_GetEfficiency ()
{
    if (g_Reader == NULL)
    {
        return 0.f;
    }
    return ARSTREAM_Reader_GetEstimatedEfficiency(g_Reader);
}
示例#2
0
JNIEXPORT jfloat JNICALL
Java_com_parrot_arsdk_arstream_ARStreamReader_nativeGetEfficiency (JNIEnv *env, jobject thizz, jlong cReader)
{
    return ARSTREAM_Reader_GetEstimatedEfficiency ((ARSTREAM_Reader_t *)(intptr_t)cReader);
}