Commit 2db0e99c authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bug in condition for doing echo calibration

update ms2 because of Nexus S bug.
parent 1ccf89e4
......@@ -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
mediastreamer2 @ 6a35ffc7
Subproject commit 6c2a608800a221942f2a827e0abb60346e7d065f
Subproject commit 6a35ffc7745d6748a43cebd7347f6af89a913593
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment