public synchronized void stopPlayer() { if (asound != null) { asound.stopPlayer(); asound.release(); } }