mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
calibrator improvements
This commit is contained in:
parent
6e0e96c0e1
commit
33b6bd6933
1 changed files with 1 additions and 1 deletions
|
|
@ -1641,7 +1641,7 @@ void linphone_core_iterate(LinphoneCore *lc){
|
|||
if (lc->ecc->cb)
|
||||
lc->ecc->cb(lc,ecs,lc->ecc->delay,lc->ecc->cb_data);
|
||||
if (ecs==LinphoneEcCalibratorDone){
|
||||
lp_config_set_int(lc->config, "sound", "ec_delay",lc->ecc->delay);
|
||||
lp_config_set_int(lc->config, "sound", "ec_delay",MAX(lc->ecc->delay-10,0));
|
||||
}
|
||||
ec_calibrator_destroy(lc->ecc);
|
||||
lc->ecc=NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue