opensles: add double-buffering and some tuning

Credits to Francesco Bradascio for the original work.
add option to set path to audio-files