Hello! First I want to admit that I have absolutely no idea what I’m doing when it comes to playing sounds and music. I have been using an ogg sound library to loop ogg files in my program, but the licenses for the music I am using require that they remain unmodified, meaning I must use MP3 format.
So that’s my dilemma. I have implemented a barebones MP3 class (which uses JLayer) I found through Google, which can be found here: http://www.cs.princeton.edu/introcs/faq/mp3/mp3.html.
This works fine, however I cannot for the life of me seem to get it to loop. I don’t think I know enough about the inner workings of sound files and sound interfaces to be able to figure it out on my own.
Any help would be appreciated!
Just as an aside. This is for a 2-d game that I am creating for a senior project at the college I go to, and when finished I will make it open-source. I have been working on it for a year now and I seem to be able to manage everything else in the game just fine, it’s just the music that’s stopping me. The game plays great without music, but who wants to play a game like that?