Hi,
I am currently working on OMAPL138 for a VoIP project where we are using DSP for codec processing of voice data.
Now we are facing echo issues at the net side, means we are calling from IP side to OMAP-TDM side and OMAP-TDM to IP side.
And we are stuck in second case in which we face echo. So for that we are trying to use AER for our problem?
1) Is it right to use AER for our problem?
2) I have merged AER with our application, no problem in merging,.I have followed this steps to create AER instance:-
aerCreate -
aerGetSizes -
siu_alloc_aer_buffs
aerNew
aerOpen
aerControl
Then used aerSendIn to process data to send from OMAP-TDM to IP side using following functions:-
aerSendIn(aec_inst[chan].aec_Inst,(void *)tdm2ip_buff,NULL,(void *)soutBuffer,(void *)ip2tdm_buff,NULL,NULL);
One thing more we are using McBSP for interfacing TDM data and is configured at 8Khz sampling rate.
So we have modified the function accordingly.
We are getting silence in soutbuffer which has to be send to IP side, so net getting success.
Purpose:- To process real time voice data both TX and RX, can you guide us in the proper direction, as this thing is getting very critical for our project.