fix bug in condition for doing echo calibration

update ms2 because of Nexus S bug.
This commit is contained in:
Simon Morlat 2013-08-09 17:13:27 +02:00
parent 1ccf89e4fb
commit 2db0e99c54
2 changed files with 4 additions and 2 deletions

View file

@ -1216,7 +1216,9 @@ extern "C" jboolean Java_org_linphone_core_LinphoneCoreImpl_needsEchoCalibration
ms_error("Could not get soundcard.");
return TRUE;
}
return (ms_snd_card_get_capabilities(sndcard) & MS_SND_CARD_CAP_BUILTIN_ECHO_CANCELLER) || (ms_snd_card_get_minimal_latency(sndcard)>0);
if (ms_snd_card_get_capabilities(sndcard) & MS_SND_CARD_CAP_BUILTIN_ECHO_CANCELLER) return FALSE;
if (ms_snd_card_get_minimal_latency(sndcard)==0) return TRUE;
return FALSE;
}
extern "C" jint Java_org_linphone_core_LinphoneCoreImpl_getMediaEncryption(JNIEnv* env

@ -1 +1 @@
Subproject commit 6c2a608800a221942f2a827e0abb60346e7d065f
Subproject commit 6a35ffc7745d6748a43cebd7347f6af89a913593