public void fadeOut() { // Skip the fade action if the fade out time is zero. if (sound_src.getFadeOut() == 0) { sound_src.stop(); } else { sound_src.fadeOut(); } is_playing = false; }
public int getFadeOutTime() { return (sound_src.getFadeOut()); }