search for: m_pspeexencstateout

Displaying 1 result from an estimated 1 matches for "m_pspeexencstateout".

2010 Jun 10
0
speex multi frame
Hi Alls Sorry for my newbe question I want to decode a speex multi frame stream I got 38 bytes packets and make 800 bytes buffer this is my simple code CSpeexCodec::CSpeexCodec(void) { // speex_bits_init(&m_speexBitsOut); m_pSpeexEncStateOut = speex_encoder_init(&speex_nb_mode); int nEhc=1; int nSamplePerSec = SAMPLES_PER_SEC; static int nQuality = 8; speex_encoder_ctl(m_pSpeexEncStateOut, SPEEX_SET_SAMPLING_RATE, &nSamplePerSec); speex_encoder_ctl(m_pSpeexEncStateOut, SPEEX_SET_QUALITY, &nQuality); /...