title: AudioInputStream is not working
body: <p>I'm trying to play a .wav sound every time the user presses a button, but an exception gets thrown:</p>
  
  <pre>Exception in thread "Thread-0" java.lang.IllegalArgumentException: Invalid format
      at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.createStream(PulseAudioDataLine.java:142)
      at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:99)
      at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:283)
      at org.classpath.icedtea.pulseaudio.PulseAudioClip.open(PulseAudioClip.java:402)
      at org.classpath.icedtea.pulseaudio.PulseAudioClip.open(PulseAudioClip.java:453)
      at Uber.play(Uber.java:534)
      at Uber$5.run(Uber.java:340)
      at java.lang.Thread.run(Thread.java:724)
  </pre>
  
  <p>Here's the code:</p>
  
  <pre><code>//Play Audio File
  public void play(String file) throws LineUnavailableException, UnsupportedAudioFileException, IOException
  {
      AudioInputStream inputStream = AudioSystem.getAudioInputStream(new File(file));
      Clip clip = AudioSystem.getClip();
      clip.open(inputStream);
      clip.start();
  }
  </code></pre>