From 954beb9c3df3a616960cce1a38004f4022cb28bb Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 5 Sep 2011 16:40:47 +0200 Subject: [PATCH] echo cancellation improvemnents: - use echo limiter always on !armv7 - enable echo cancellation by default - toggle speaker mode on during video calls --- LinphoneCoreImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LinphoneCoreImpl.java b/LinphoneCoreImpl.java index 99a2e194a..23a8d3914 100644 --- a/LinphoneCoreImpl.java +++ b/LinphoneCoreImpl.java @@ -103,6 +103,7 @@ class LinphoneCoreImpl implements LinphoneCore { private native void setUploadPtime(long nativePtr, int ptime); private native void setDownloadPtime(long nativePtr, int ptime); private native void setZrtpSecretsCache(long nativePtr, String file); + private native void enableEchoLimiter(long nativePtr2, boolean val); LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException { mListener=listener; @@ -503,4 +504,8 @@ class LinphoneCoreImpl implements LinphoneCore { public synchronized void setZrtpSecretsCache(String file) { setZrtpSecretsCache(nativePtr,file); } + public void enableEchoLimiter(boolean val) { + enableEchoLimiter(nativePtr,val); + } + }