Displaying 1 result from an estimated 1 matches for "number_of_fram".
Did you mean:
number_of_frames
2006 Aug 01
0
new to speex's!
...a_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,size_of_data_avalible);
int number_of_frames;
/// clear the space each time.
int length = space_avalible_in_packect;
if ( size_of_data_avalible < space_avalible_in_packect )
{
length = size_of_data_avalible;
}
/// allocate space in memory for the float version of the data.
data_as_floats = (float *)...