search for: size_of_data_avalible

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

2006 Aug 01
0
new to speex's!
...uper awesome. I have my voice data. capturing. I encoding it so that there are multi speex frames per packet. on the reciving end i decode the package i recive. Yeah it dosnt work at all. :D this is the code for the encode. int PackVoiceData(SpeexBits *bits,int space_avalible_in_packect, int size_of_data_avalible, int frame_size , void * data_to_pack, char * destinantion_buffer ) { float frame[FRAME_SIZE]; int offset= 0; float * data_as_floats; short * data_as_shorts = (short *) data_to_pack; memset(destinantion_buffer , 0,size_of_data_avalible); /// memset(data_as_shorts , 0,siz...