Move OpenSL fill buffer loop to Java

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>