search for: codec_info

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

2006 Feb 14
1
Bug in vbr_analysis
...frame size of my RTP packets. char pcm_data[3200]; char speex_data[3200]; SpeexBits bits; memset(pcm_data, '\0', 3200); memset(speex_data, '\0', 3200); speex_bits_init(&bits); speex_bits_reset(&bits); speex_encode_int(codec_info->enc, (short*)pcm_data, &bits); codec->enc_frame_size = speex_bits_write(&bits, speex_data, frame_size); I never run into problems using either speex on linux or windows until one used my dll and speex through delphi on windows: he gets division by zero. I found that "en...