diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index c27090a73..ebd674e41 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -3834,7 +3834,7 @@ void linphone_core_set_mic_gain_db (LinphoneCore *lc, float gaindb){ ms_message("linphone_core_set_mic_gain_db(): no active call."); return; } - if (st->volrecv){ + if (st->volsend){ ms_filter_call_method(st->volsend,MS_VOLUME_SET_DB_GAIN,&gain); }else ms_warning("Could not apply gain: gain control wasn't activated."); }