示例#1
0
 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;
 }
示例#2
0
 public void stop() {
   sound_src.stop();
   is_playing = false;
 }