• Rafaël Carré's avatar
    opensles: take in account all buffered audio in latency · 58a31eb2
    Rafaël Carré authored
    We only considered the audio already buffered through opensles engine,
    so the calculation was incorrect.
    
    Use samples rather than bytes for calculation, and a function rather than
    hardcoding 2*2 all over the place when a size in bytes is needed.
    58a31eb2
opensles_android.c 17.8 KB