Removed unused code.
Added support for OpenSL ES.