On 07/21/2014 07:28 PM, Bill Gardner wrote: > Hi Roberto, > > If the issue is really loud and distorted audio, I tracked this down to fixed point overflow in the speex echo > canceler. You should be able to test by disabling speex AEC. It has both fixed and float implementations, so there is > some way to build the floating point code, can't recall exactly. Ciao Bill, You are right! The speex AEC will produce really distorted and loud audio on S4 devices. So that's the reason why it gets disabled when my app detect certain devices like the S4. BTW! It seems that setting snd_clock_rate at 44100Hz the audio distortion is much less than 8KHz. Cheers, Roberto Fichera. > > Bill > > On 7/21/2014 1:00 PM, Roberto Fichera wrote: >> Hi All, >> >> Some time ago I was experiencing really bad recording sound while playing >> with S4 and Note 3 devices with pjsip. I have got the hint to set the snd_clock_rate >> to 8KHz in order to alleviate that problem. BTW! This trick has just alleviated the >> problem, unfortunately it still persisting even if it's not so disturbing as it was set >> as its default 16KHz. >> >> I would really appreciate to know if someone know how to solve definitively this >> annoying problem. >> >> Thanks in advance to everybody will answer, >> Roberto Fichera. >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >