From a0f01705cedb4e38d3ec7887de8702b52842de28 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 20 Jun 2013 12:48:54 +0200 Subject: [PATCH] fix invalid test --- coreapi/linphonecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); }