diff --git a/coreapi/linphonecore_jni.cc b/coreapi/linphonecore_jni.cc index 084869204..e0b8ef53f 100644 --- a/coreapi/linphonecore_jni.cc +++ b/coreapi/linphonecore_jni.cc @@ -1790,7 +1790,7 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_muteMic( JNIEnv* env ,jobject thiz ,jlong lc ,jboolean isMuted) { - linphone_core_enable_mic((LinphoneCore*)lc,isMuted); + linphone_core_enable_mic((LinphoneCore*)lc, !isMuted); } extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_interpretUrl( JNIEnv* env