예제 #1
0
파일: SoundBite.java 프로젝트: KenC57/JMRI
 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
파일: SoundBite.java 프로젝트: KenC57/JMRI
 public int getFadeOutTime() {
   return (sound_src.getFadeOut());
 }