delay between speex_echo_capture and speex_echo_playback
Steven Eckhoff <[email protected]> Wed, 4 May 2016 14:52:24 -0500
| Newsgroups | gmane.comp.audio.compression.speex.devel |
|---|---|
| Message-ID | <CANHAape4x1Z=Lpqb1mLQS-hfotSQ=Wms0UikM_KBy22pAT1otA@mail.gmail.com> |
--===============7611179475383412770== Content-Type: multipart/alternative; boundary=001a113cf74c8f47e005320990a9 --001a113cf74c8f47e005320990a9 Content-Type: text/plain; charset=UTF-8 Hello, I have been attempting to implement speex aec in an Android HAL without success. In my debugging, I have decided to time a pulse through the system and I am seeing a large delay between passing audio to Audioflinger and getting it back to play. This is causing a delay around 90ms between speex_echo_capture and speex_echo_playback. The documentation states that the async api will insert a 2 frame delay (40ms in this case). To me this seems like my issue. The delay is simply longer than the two frames that the async api is using. Is my thinking correct? Is there anything I can do? Thanks! --001a113cf74c8f47e005320990a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello,<div><br></div><div>I have been attempting to implem= ent speex aec in an Android HAL without success. In my debugging, I have de= cided to time a pulse through the system and I am seeing a large delay betw= een passing audio to Audioflinger and getting it back to play. This is caus= ing a delay around 90ms between speex_echo_capture and speex_echo_playback.= The documentation states that the async api will insert a 2 frame delay (4= 0ms in this case). To me this seems like my issue. The delay is simply long= er than the two frames that the async api is using.=C2=A0<div><br></div><di= v>Is my thinking correct? Is there anything I can do?</div><div><br></div><= div>Thanks!</div></div></div> --001a113cf74c8f47e005320990a9-- --===============7611179475383412770== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KU3BlZXgtZGV2 IG1haWxpbmcgbGlzdApTcGVleC1kZXZAeGlwaC5vcmcKaHR0cDovL2xpc3RzLnhpcGgub3JnL21h aWxtYW4vbGlzdGluZm8vc3BlZXgtZGV2Cg== --===============7611179475383412770==--