search for: ms_speex_dec_process

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

2006 Feb 10
0
Multiple frames in packet
...j->speex_state,(short*)input,&obj->bits); m=ms_message_new(speex_bits_nbytes(&obj->bits)); //speex_bits_insert_terminator(&obj->bits); m->size=speex_bits_write(&obj->bits,m->data,m->size); ms_queue_put(outq,m); } And my decode function void ms_speex_dec_process(MSSpeexDec *obj) { .... m=ms_queue_get(inq); g_return_if_fail(m!=NULL); speex_bits_reset(&obj->bits); ms_fifo_get_write_ptr(outf,gran,(void**)&output); g_return_if_fail(output!=NULL); if (m->data!=NULL){ speex_bits_read_from(&obj->bits,m-&g...