I am trying to implement AMR codec for osmocom-bb. I got assignment commend which is same as
T_AMR_CONFIGURATION amr_param; amr_param.noise_suppression_bit=0;
amr_param.initial_codec_mode_indicator=1; amr_param.initial_codec_mode=0; amr_param.active_codec_set=0x95; amr_param.threshold[0]=0x0a; amr_param.threshold[1]=0x10; amr_param.threshold[2]=0x18;
amr_param.threshold[3]=0x24;------------just random value amr_param.hysteresis[0]=0x04; amr_param.hysteresis[1]=0x04; amr_param.hysteresis[2]=0x04; amr_param.hysteresis[3]=0x04;----------just copied value from rest config for hysteresis
l1ddsp_load_amr_param( amr_param);
Now when i make a call I here gliches or random noise. also after some time there is radio signal loss and call is dropped.