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){
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){