search for: encodedstr

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

Did you mean: encoded_str
2005 Oct 09
0
Fw: problem in encoder/decoder
...Bits bits; void* enc_state; // Initialize. speex_bits_init(&bits); enc_state = speex_encoder_init(&speex_nb_mode); int frame_size = 0; // get frame size. speex_encoder_ctl(enc_state,SPEEX_GET_FRAME_SIZE,&frame_size); int nbBytes = 0; //unsigned char *input_frame,*encodedstr; unsigned char *encodedstr; float* input_frame;//approx of frame size input_frame = new float[frame_size]; encodedstr = new unsigned char[MAX_FRAME_BYTES]; ZeroMemory(input_frame,frame_size); ZeroMemory(encodedstr,MAX_FRAME_BYTES); int pos = 0; unsigned char*result; result = new u...