public void fadeIn() { // Skip the fade action if the fade in time is zero. if (sound_src.getFadeIn() == 0) { sound_src.play(); } else { sound_src.fadeIn(); } is_playing = true; }
public void loop() { sound_src.play(); is_playing = true; }