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

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