JNIEXPORT jint JNICALL Java_org_jitsi_impl_neomedia_jmfext_media_protocol_directshow_DSCaptureDevice_stop (JNIEnv *env, jobject obj, jlong ptr) { DSCaptureDevice *thiz = reinterpret_cast<DSCaptureDevice *>(ptr); return (jint) (thiz->stop()); }
/** * \brief Close native capture device. * \param env JNI environment * \param obj DSCaptureDevice object * \param ptr native pointer of DSCaptureDevice */ JNIEXPORT void JNICALL Java_net_java_sip_communicator_impl_neomedia_directshow_DSCaptureDevice_close (JNIEnv* env, jobject obj, jlong ptr) { DSCaptureDevice* dev = reinterpret_cast<DSCaptureDevice*>(ptr); dev->stop(); }