search for: prep_state

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

Did you mean: pre_state
2011 Sep 29
1
Nothing but rhythm was left after encoding and decoding by speex on ipad(XCode 4.1 48110)
...decode, it works properly in Android 3.0: static int speexo_encode(const void *in_bytes, void *out_bytes, int size) { if (!codec_open) return 0; int return_value; speex_bits_reset(&ebits); //speex_echo_capture(echo_state, (short*)in_bytes, (short*)in_bytes); //speex_preprocess_run(prep_state, (short*)in_bytes); speex_encode_int(enc_state, (short*)in_bytes, &ebits); if(speex_bits_nbytes(&ebits) >= (int)size) { return_value = 0; } else { return_value = (int)speex_bits_write(&ebits, (char*)out_bytes, size); } return return_value; } static int speexo_decode(co...