<div dir="ltr">Hello,<div><br></div><div>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. <div><br></div><div>Is my thinking correct? Is there anything I can do?</div><div><br></div><div>Thanks!</div></div></div>