Dear All,
Platform - OMAPL138.
I am using ECU component in my code for canceling echo generating at TDM side to IP side.
As my work scenario is to call from IP side to TDM side and we are getting echo voice at IP side.
Here are my settings for open ECU:
ecuConfigParam_t cfgParam;
ys_ecu_inst[chan].ecuCfg.y2x_delay = 20; /* One frame default y2x delay */
ys_ecu_inst[chan].ecuCfg.samples_per_frame = 10 * 8; /* 5ms default frame duration */
ys_ecu_inst[chan].ecuCfg.pcm_zero = (0x0); /* A-Law (0x55D5) */
ys_ecu_inst[chan].ecuCfg.pcm_expand_tbl = NULL; /* &_a2lin[0] */
cfgParam.filter_length = SIU_MAX_ECU_FILTER_LENGTH ; /* 128ms default ECU tail */
cfgParam.noise_level = 0; /* Use default (-70) if fixed */
cfgParam.config_bitfield = ecu_ENABLE_ECHO_CANCELLER | /* ENABLE ECU, ENABLE NLP, ENABLE UPDATE */
ecu_ENABLE_UPDATE |
ecu_ENABLE_NLP |
ecu_ENABLE_AUTO_UPDATE |
ecu_ENABLE_SEARCH |
ecu_ENABLE_CNG_ADAPT |
ecu_ENABLE_OPNLP_DETECT |
ecu_CLEAR_FG |
ecu_CLEAR_BG |
ecu_CLEAR_SEARCH;
cfgParam.config_bitfield1 = ecu_ENABLE_NLP_PHASE_RND;
cfgParam.nlp_aggress = 0; /* balance performance */
cfgParam.cn_config = 0; /* pink noise */
ys_ecu_inst[chan].ecuCfg.cfgParam = &cfgParam;
ecuOpen(ys_ecu_inst[chan].ecu_Inst,&(ys_ecu_inst[chan].ecuCfg));
1) How to configure ecuCfg.pcm_zero for linear samples as I get payload in linear 8-bit format and I dont want to use Alaw or Ulaw any of it.
2) Please tell me how to configure ECU properly?
3) Using test example of volib_2_0_0_3 it is programmed using simulator and I dont want to use that as I am not using CCS?
Regards
Rishabh Jain