fix XCode build error when used as library.
opensles: add double-buffering and some tuning

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