Displaying 1 result from an estimated 1 matches for "enc_nbbytes".
2004 Aug 06
0
Invalid mode encountered: corrupted stream?
...tream?"
"Invalid wideband mode encountered: corrupted stream?"
The stream is not corrupted but i wish to 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(e...