Displaying 1 result from an estimated 1 matches for "bits_in".
Did you mean:
bitcoin
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
..., when I do not, the audio is loud and clear, but when I encode/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, &qual...