]> sjero.net Git - linphone/blobdiff - coreapi/lsd.c
Aac-eld add missing header according to RFC3640 3.3.6
[linphone] / coreapi / lsd.c
index 1ad7c7db452f21e25ad22d2a381e622cfec61a1a..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);
 }
 
@@ -250,7 +250,6 @@ LinphoneSoundDaemon * linphone_sound_daemon_new(const char *cardname, int rate,
 
        lsd_player_init(&lsd->branches[0],mp,MS_ITC_SOURCE_ID,lsd);
        ms_filter_set_notify_callback(lsd->branches[0].player,(MSFilterNotifyFunc)lsd_player_configure,&lsd->branches[0]);
-       ms_filter_enable_synchronous_notifcations (lsd->branches[0].player,TRUE);
        for(i=1;i<MAX_BRANCHES;++i){
                mp.pin=i;
                lsd_player_init(&lsd->branches[i],mp,MS_FILE_PLAYER_ID,lsd);