• Rafaël Carré's avatar
    opensles: use a ring buffer for latency measurement · 76e6ca8e
    Rafaël Carré authored
    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.
    76e6ca8e
opensles_android.c 17.4 KB