fix invalid test

This commit is contained in:
Simon Morlat 2013-06-20 12:48:54 +02:00
parent ad2e0b4753
commit a0f01705ce

View file

@ -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.");
}