cpal
cpal copied to clipboard
Can you get the system latency?
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.
I'm interested in this for macOS. Use case is for using acoustic echo cancellation that works better with exact latency metrics.