Package com.svanloon.common.music

Examples of com.svanloon.common.music.WavePlayer


      bs.setSize((int)(i * screenWidth), (int)(i*screenHeight));
      bs.setVisible(true);
      bs.repaint();
      if(isFirst && sounds != null) {
        isFirst = false;
        WavePlayer wavePlayer = new WavePlayer();
        try {
          wavePlayer.play(sounds[(int)(Math.random()*sounds.length)]);
        } catch (UnsupportedAudioFileException e1) {
          e1.printStackTrace();
        } catch (IOException e1) {
          e1.printStackTrace();
        } catch (LineUnavailableException e1) {
View Full Code Here

TOP

Related Classes of com.svanloon.common.music.WavePlayer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.