How to get a constant latency value for audio recordings using oboe library? #1556
-
I am currently working on an android application that uses the oboe library for recording audio. The goal of the application is to get a constant audio latency. Is it possible to get a constant latency audio recording using the oboe library? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, see the Record and Play in OboeTester as a sample. |
Beta Was this translation helpful? Give feedback.
-
Once a stream is running and stabilized then the latency will be relatively constant. If you do not process an input stream in time then that will cause a temporary increase in latency. This is unavoidable. |
Beta Was this translation helpful? Give feedback.
Once a stream is running and stabilized then the latency will be relatively constant.
But if you start to starve an output stream then the output buffer will get low.
That will cause a temporary reduction in latency.
If you do not process an input stream in time then that will cause a temporary increase in latency.
This is unavoidable.