Slick-Util can play ogg & mp3, so you're good there.
With your help I could realize playing ogg sounds. But I can't find anything about slick and mp3.
GoogleBackgroundI have a program that can play mp3 (only) in a windows environment. But it couldn't play ogg. So I thought I had to find out how to play ogg.
As I could that, I thought I could combine both in one program. But the mp3 runs only without the slick libraries.
As soon as I added the slick libraries to the eclipse runtime environment I got an error message when playing mp3. Without any change within the code.
"file:///D:/Musik/Musik-DVD1/Albert Hammond - Down By The River.mp3"
Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed, 16000.0 frame rate, FrameSize=16384 bits
Failed to realize: com.sun.media.PlaybackEngine@118f375
Error: Unable to realize com.sun.media.PlaybackEngine@118f375
java.lang.NullPointerException
at MusicPlayer.run(MusicPlayer.java:114)
at java.lang.Thread.run(Unknown Source)