search for: temp_audio

Displaying 2 results from an estimated 2 matches for "temp_audio".

2007 Jul 06
1
bitpack error message
i don't think so. this is my current code: for(i=0; i<samples;i++){ /*only get max 320 bytes at a time so bits can handle*/ Client->raw_audio[i] = *input++; Client->temp_audio[i] = Client->raw_audio[i]; Client->session_File[ndx] = Client->temp_audio[i]; ndx+=1; } speex_bits_reset(&ebits); speex_encode_int(enc_state,Client->temp_audio,&ebits); Client->nBytes = speex_bits_write(&ebits,Client->encoded_au...
2007 Jul 06
2
bitpack error message
Hi, i have some code that gives me a "warning: Buffer too small to pack bits" mesage. looking at the libspeex source/bits.c i see the warning in a a function named speex_bits_pack. i'm not using this function. can someone tell me where this may be coming from since i've had a similiar problem before and had that fixed. i can't seem to pinpoint this one. thanks Greg