Exemple #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;
 }
Exemple #2
0
 public int getFadeOutTime() {
   return (sound_src.getFadeOut());
 }