Displaying 1 result from an estimated 1 matches for "bits_out".
Did you mean:
  bits_act
  
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
...ncode/decode to test audio quality, I get a really poor audio quality and a robotic sound.
Here's my init audio method : 
    #define AUDIO_QUALITY 10
    - (void) initAudio {
        try {	
            //SPEEX CONFIG
            speex_bits_init(&bits_in);
            speex_bits_init(&bits_out);
            enc_state = speex_encoder_init(&speex_nb_mode);
            dec_state = speex_decoder_init(&speex_nb_mode);
            int quality = AUDIO_QUALITY;
            speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &quality);
            int tmp=1;
            speex_decoder_ctl(...