Displaying 1 result from an estimated 1 matches for "pcm_data".
Did you mean:
pam_data
2006 Feb 14
1
Bug in vbr_analysis
Hi Jean-Marc,
I used the following code after init of the encoder to
get the 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);...