Clicking/Popping sound at the end of .wav sound clip
<p>I am making a sound board application and when ever a sound is played there is a clicking noise that plays about a second after it stops. </p>

<p>Here is the code:</p>

<pre><code>try {
    AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(new File(
                    "/Users/jillfranke/Desktop/TSAVO/JAVA/Animal Sounds/Sounds/cat_meow_x.wav"));
    Clip clip = AudioSystem.getClip();
    clip.open(audioInputStream);
    clip.start();
} catch (UnsupportedAudioFileException | IOException
        | LineUnavailableException ex) {
    Logger.getLogger(Gui.class.getName()).log(Level.SEVERE, null, ex);
}
</code></pre>
