Exemple #1
0
 public void execute(int globalTime) {
   if (!ap.isPlaying()) {
     int playAt = globalTime - timeStamp;
     ap.play(playAt);
     println("gTime is " + globalTime + " delTime is " + playAt);
   }
 }
Exemple #2
0
 public void pauseAudio() {
   ap.pause();
 }