search for: speexinit

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

Did you mean: speex_init
2004 Aug 06
0
Invalid mode encountered: corrupted stream?
...know what those warning mean to correct my code. My encode and decode routines are those (libspeex 1.1.4): SpeexBits enc_bits, dec_bits; void *enc_state, *dec_state; static int enc_nbBytes = 0; static int comp = 1, quality = 5; static int vero = 1, falso = 0; static int enc_bitrate = 8000; void SpeexInit (void) { //ENCODER speex_bits_init(&enc_bits); enc_state = speex_encoder_init(&speex_nb_mode); speex_encoder_ctl(enc_state,SPEEX_RESET_STATE,NULL); speex_encoder_ctl(enc_state,SPEEX_SET_COMPLEXITY,&comp); speex_encoder_ctl(enc_state,SPEEX_SET_QUALITY,&quality); speex_encoder...
2007 Aug 21
0
Need help on making speex AEC to work
...#39;s echo canceller. My capture and playback are not synchronized, so i got to use the method from 1.2beta2 right? What's the proper way to fit speex_echo_capture() and speex_echo_playback() into the following procedures, assuming they were already wrapped by jni properly? speexInit(); final PcmRecorder r = new PcmRecorder(); final PcmPlayer p = new PcmPlayer(); r.setListener(new RecorderListener() { public void recorded(Object source, byte[] bytes, int length) { // WHEN A FRAME IS CAPTURED, THIS CALLBACK WILL BE TRIGGER...