search for: testaudio

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

2005 Aug 12
1
Encode/Decode problem
...seeing is drastically different. If so, is the encoding data sensitive? If my data being fed in is wrong, will the encoding and decoding not work correctly? Any help would be greatly appriciated. Thanks! Jamie Stanton jstanton@clairvista.com I've got the following code: static void testAudio(UInt8 *data, long dataLength) { //data is a linear PCM stream from an attached microphone. sample rate is 8000, 16 bits per sample void *state; void *state2; SpeexBits bits; short tempShort; short tempPtr[160]; short tempPtrDecode[160]; state = speex_encoder_init(&speex_nb_mode); state2 = spe...