improvements to event handling and android OpenSL audio subsystem