Android/openslES: set audio in paused/resumed state for Android event loop And also in "stopped" state before closing the device.