Prevent OpenSL buffer underrun

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Prevent crashes caught in monkey test

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