search for: speexo_decode

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

Did you mean: speex_decode
2011 Sep 29
1
Nothing but rhythm was left after encoding and decoding by speex on ipad(XCode 4.1 48110)
...s_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(const void *in_bytes, int in_len, void *out_bytes) { if (!codec_open) return 0; int return_value; speex_bits_reset(&dbits); speex_bits_read_from(&dbits, (char *)in_bytes, in_len); if (0 != speex_decode_int(dec_state, &dbits, (short*)out_bytes)) { return_value = 0; } else {...