Beispiel #1
0
  @SuppressWarnings("deprecation")
  @Test
  public void testPlayAndStopLoop() {
    playWave = new PlayWave("sound/eatFruit.wav");
    playWave.setLoop(true);
    playWave.start();

    playWave.setLoop(false);
    playWave.stop();
  }
Beispiel #2
0
 @Test
 public void testPlayIsLoop() {
   playWave = new PlayWave("sound/eatFruit.wav");
   playWave.setLoop(true);
   playWave.start();
 }