cpal icon indicating copy to clipboard operation
cpal copied to clipboard

Can you get the system latency?

Open tGrothmannFluffy opened this issue 1 year ago • 3 comments

Hi there,

I am trying to get the system latency. Basically, I want to know (roughly) when the samples I wrote to the output are ending up at the speaker. I know this is probably highly os and device dependent.

I found this oboe (android) function to get this value. But I was wondering if/how I could access that.

I am working on Android and iOS.

tGrothmannFluffy avatar Apr 04 '23 14:04 tGrothmannFluffy

I'm interested in this for macOS. Use case is for using acoustic echo cancellation that works better with exact latency metrics.

morajabi avatar Apr 07 '23 08:04 morajabi