Commit 29ac9d32 authored by Sylvain Berfini's avatar Sylvain Berfini

Fix compilation warning on Android

parent 805f4d33
......@@ -21,7 +21,7 @@
#include "hardware_echo_canceller.h"
jobject enable_hardware_echo_canceller(JNIEnv *env, int sessionId) {
jobject aec;
jobject aec = NULL;
jclass aecClass = env->FindClass("android/media/audiofx/AcousticEchoCanceler");
if (aecClass==NULL){
env->ExceptionClear(); //very important.
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