Displaying 1 result from an estimated 1 matches for "xthrowiferror".
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
..._decoder_init(&speex_nb_mode);
int quality = AUDIO_QUALITY;
speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &quality);
int tmp=1;
speex_decoder_ctl(dec_state, SPEEX_SET_ENH, &tmp);
OSStatus status;
XThrowIfError(AudioSessionInitialize(NULL, NULL, rioInterruptionListener, self), "couldn't initialize audio session");
float aBufferLength = 0.02; // In seconds
status = AudioSessionSetProperty(kAudioSessionProperty_PreferredHardwareIOBufferDuration,...