From eea317e56db603db25338f43b412045de854eaf6 Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Tue, 4 Oct 2011 16:20:21 +0200 Subject: [PATCH] Fix ios compilation error --- coreapi/lsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/lsd.c b/coreapi/lsd.c index f22a5b207..e47023f4f 100644 --- a/coreapi/lsd.c +++ b/coreapi/lsd.c @@ -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); }