Displaying 1 result from an estimated 1 matches for "amrinit".
Did you mean:
afrinic
2008 Apr 30
1
decode problem
Hi
I am using first time speex library, and this is my first problem. I need to
decode AMR-NB packet to PCM. I read all manual instruction and I wrote these
simple lines of code.
bool CMMediaObj::AmrInit()
{
speex_bits_init(&bits);
destate = speex_decoder_init(&speex_nb_mode);
int tmp=1;
speex_decoder_ctl(destate, SPEEX_SET_ENH, &tmp);
return true;
}
void CMMediaObj::AmrFreeMemory()
{
if (destate){...