Пример #1
0
 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;
 }
Пример #2
0
 public void loop() {
   sound_src.play();
   is_playing = true;
 }