mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
Fix mistake in previous commit
This commit is contained in:
parent
95de57a6c6
commit
f3c7c993ea
1 changed files with 1 additions and 3 deletions
|
|
@ -768,15 +768,13 @@ public:
|
|||
if (table) {
|
||||
LinphoneCoreData* lcData = (LinphoneCoreData*) linphone_core_v_table_get_user_data(table);
|
||||
if (lcData->ecCalibrationStatusId) {
|
||||
jobject ecData = env->NewGlobalRef((jobject) data);
|
||||
jobject state = env->CallStaticObjectMethod(lcData->ecCalibratorStatusClass, lcData->ecCalibratorStatusFromIntId, (jint)status);
|
||||
env->CallVoidMethod(lcData->listener
|
||||
,lcData->ecCalibrationStatusId
|
||||
,lcData->core
|
||||
,state
|
||||
,delay_ms
|
||||
,ecData);
|
||||
env->DeleteGlobalRef(ecData);
|
||||
,NULL);
|
||||
}
|
||||
if (status != LinphoneEcCalibratorInProgress) {
|
||||
linphone_core_v_table_destroy(table);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue