ndk-samples icon indicating copy to clipboard operation
ndk-samples copied to clipboard

latency

Open alexd555 opened this issue 5 years ago • 4 comments

Hi, I made measurements on nexus 4 on the audio-echo project from google ndk examples and I got the following result:

image

The first line is the recommended parameter of the system(fast path). Could you explain the meaning of the fast path ?

Every time , I multiplied by whole multiples of 10 the buffer size. My question is: How can I explain the differance of latency ? Why is there no corroletion of the latency ?

Thanks, Alex

alexd555 avatar Oct 08 '18 09:10 alexd555

+@philburk for latency question

ggfan avatar Oct 10 '18 17:10 ggfan

I already answered the question here. https://groups.google.com/forum/#!topic/android-ndk/uDSvZ6z9bDQ

philburk avatar Oct 10 '18 17:10 philburk

Hi, I asked question again: How can I explain big difference between first line and second line ? Can you point me to good acticle that explain meaning of the fast path ? Thanks, Alex

‫בתאריך יום ד׳, 10 באוק׳ 2018 ב-20:31 מאת ‪Phil Burk‬‏ <‪ [email protected]‬‏>:‬

I already answered the question here. https://groups.google.com/forum/#!topic/android-ndk/uDSvZ6z9bDQ

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/googlesamples/android-ndk/issues/580#issuecomment-428660663, or mute the thread https://github.com/notifications/unsubscribe-auth/AYlQdkoGP71K3th-DMkPQ7v5HvlakU3Aks5uji7ngaJpZM4XMm2m .

alexd555 avatar Oct 10 '18 17:10 alexd555

I think this fast path was part of android low latency initiatives, some related doc could be found here: https://developer.android.com/ndk/guides/audio/audio-latency#output-latency Under neath the implementation is that:

  • frequency
  • buffer size
  • no signal processing needed

ggfan avatar Oct 10 '18 22:10 ggfan