I'm trying to import a .mp3 file but I'm hitting a MediaException. I'm using:
InputStream audioSource = getClass().getResourceAsStream(fileLocation);
Player audio = Manager.createPlayer(audioSource,"audio/mp3");
Can anyone spot any faults / things I should be doing different? The file definitely exists and is definitely an MP3 file.