From: Yann Diorcet Date: Tue, 6 Nov 2012 14:15:41 +0000 (+0100) Subject: Fix previous commit X-Git-Url: http://sjero.net/git/?a=commitdiff_plain;h=42b4cb544661f129d2959ca9faf492b9b90cf197;p=linphone Fix previous commit --- diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 0f5f7a7d..9200aadf 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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){