search for: ms_speex_enc_process

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

Did you mean: ms_speex_dec_process
2006 Feb 10
0
Multiple frames in packet
Hi, what is the good way to encode / decode multiple frames in packet ? I read that I must do multiple call to encode and thats it. But when I'm trying to decode,, it doesn't work. Maybe, the problem is my decode function. Here is my encode function void ms_speex_enc_process(MSSpeexEnc *obj) { .... Do I need to increase gran value to 640 or read / encode (2 times) ms_fifo_get_read_ptr(inf,gran,(void**)&input); (gran = 320) g_return_if_fail(input!=NULL); /* encode */ speex_bits_reset(&obj->bits); speex_encode_int(obj->speex_...