mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix bug
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@365 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
cf62d28f80
commit
5620908a27
2 changed files with 5 additions and 5 deletions
|
|
@ -1442,15 +1442,15 @@ static void post_configure_audio_streams(LinphoneCore *lc){
|
|||
float force=lp_config_get_float(lc->config,"sound","el_force",-1);
|
||||
MSFilter *f;
|
||||
if (st->el_type==ELControlMic){
|
||||
f=st->volrecv;
|
||||
f=st->volsend;
|
||||
if (speed==-1) speed=0.15;
|
||||
if (force==-1) force=10;
|
||||
}
|
||||
else{
|
||||
f=st->volsend;
|
||||
else if (st->el_type==ELControlSpeaker){
|
||||
f=st->volrecv;
|
||||
if (speed==-1) speed=0.02;
|
||||
if (force==-1) force=5;
|
||||
}
|
||||
}else ms_fatal("Should not happen");
|
||||
if (speed!=-1)
|
||||
ms_filter_call_method(f,MS_VOLUME_SET_EA_SPEED,&speed);
|
||||
if (thres!=-1)
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ static void volume_echo_avoider_process(Volume *v){
|
|||
}
|
||||
}
|
||||
|
||||
ms_message("ea_active=%i, peer_e=%f gain=%f gain_k=%f",v->ea_active,peer_e,v->gain, v->gain_k);
|
||||
ms_message("ea_active=%i, peer_e=%f gain=%f gain_k=%f force=%f",v->ea_active,peer_e,v->gain, v->gain_k,v->force);
|
||||
}
|
||||
|
||||
static int volume_set_gain(MSFilter *f, void *arg){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue