mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix previous commit
This commit is contained in:
parent
313505bcae
commit
42b4cb5446
1 changed files with 2 additions and 2 deletions
|
|
@ -3320,7 +3320,7 @@ void linphone_core_set_mic_gain_db (LinphoneCore *lc, float gaindb){
|
|||
lc->sound_conf.soft_mic_lev=gaindb;
|
||||
|
||||
if (linphone_core_ready(lc)){
|
||||
lp_config_set_int(lc->config,"sound","mic_gain_db",lc->sound_conf.soft_mic_lev);
|
||||
lp_config_set_float(lc->config,"sound","mic_gain_db",lc->sound_conf.soft_mic_lev);
|
||||
}
|
||||
|
||||
if (call==NULL || (st=call->audiostream)==NULL){
|
||||
|
|
@ -3353,7 +3353,7 @@ void linphone_core_set_playback_gain_db (LinphoneCore *lc, float gaindb){
|
|||
|
||||
lc->sound_conf.soft_play_lev=gaindb;
|
||||
if (linphone_core_ready(lc)){
|
||||
lp_config_set_int(lc->config,"sound","playback_gain_db",lc->sound_conf.soft_play_lev);
|
||||
lp_config_set_float(lc->config,"sound","playback_gain_db",lc->sound_conf.soft_play_lev);
|
||||
}
|
||||
|
||||
if (call==NULL || (st=call->audiostream)==NULL){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue