search for: encoded_audio

Displaying 5 results from an estimated 5 matches for "encoded_audio".

2005 Feb 09
2
encoding speex, (insanity looming)
...bug"); exit(1); } ... // Note: This area is repeated in a for loop with "packet" filled with 320 // pcm samples (320 shorts) // // short packet[320]; // packet size for wideband. int nbytes, err; char encoded_audio[320]; // buffer to store encoded audio from speex short pcm_out[640]; // buffer of short to write decoded audio to disk. // Note: Please see the note bellow about this as // there seems something wrong, thought...
2005 Feb 09
0
encoding speex, (insanity looming)
...bug"); exit(1); } ... // Note: This area is repeated in a for loop with "packet" filled with 320 // pcm samples (320 shorts) // // short packet[320]; // packet size for wideband. int nbytes, err; char encoded_audio[320]; // buffer to store encoded audio from speex short pcm_out[640]; // buffer of short to write decoded audio to disk. // Note: Please see the note bellow about this as // there seems something wrong, thought...
2007 Jul 06
1
bitpack error message
...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_audio, samples); speex_bits_read_from(&dbits,Client->encoded_audio,Client->nBytes); /*decode from dbits to raw_audio*/ speex_decode_int(dec_state,&dbits,Client->raw_audio); i did move the reset function to before the for loop to test. but it still crashed. Jean-Marc Vali...
2005 Feb 09
1
encoding speex, (insanity looming)
...> ... > // Note: This area is repeated in a for loop with "packet" > filled with 320 > // pcm samples (320 shorts) > // > // short packet[320]; // packet size for wideband. > > int nbytes, err; > char encoded_audio[320]; // buffer to store encoded audio from speex > short pcm_out[640]; // buffer of short to write decoded audio to > disk. > // Note: Please see the note bellow about this as > // there seems something wrong, thought &...
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