opensles: use a ring buffer for latency measurement
Now audio codec frame size will not affect latency precision, at the small cost of one memcpy per frame. With the maximum number of OpenSLES buffers (255), we can have a precision of 4ms with a buffer size of ~1 second.
Showing
This diff is collapsed.
Please register or sign in to comment