mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 22:28:07 +00:00
fix bug in condition for doing echo calibration
update ms2 because of Nexus S bug.
This commit is contained in:
parent
1ccf89e4fb
commit
2db0e99c54
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue