]> sjero.net Git - linphone/commitdiff
Fix ios compilation error
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@linphone.org>
Tue, 4 Oct 2011 14:20:21 +0000 (16:20 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@linphone.org>
Tue, 4 Oct 2011 14:20:21 +0000 (16:20 +0200)
coreapi/lsd.c

index f22a5b2072776edf9d465ca1f19743a147143a45..e47023f4ffc94b93e4b7f675ec5c1b956071d670 100644 (file)
@@ -215,7 +215,7 @@ bool_t lsd_player_loop_enabled(const LsdPlayer *p){
 void lsd_player_set_gain(LsdPlayer *p, float gain){
        MSAudioMixerCtl gainctl;
        gainctl.pin=p->mixer_pin;
-       gainctl.gain=gain;
+       gainctl.param.gain=gain;
        ms_filter_call_method(p->lsd->mixer,MS_AUDIO_MIXER_SET_INPUT_GAIN,&gainctl);
 }