-
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