I am seeking for hints for a very simple MP3 player

I am seeking for codes for a MP3 player - as simple as it can be.

NO GUI NEEDED. Just make it simple. It ONLY does the followings:

Load a file(MP3 is a must. Other formats are welcomed)
Play(loop or no loop)
Stop

That's it. No other requirements.


This should be simple, but I cannot find C++ MP3 player with looping function......anyone can help me?

Thanks in advance!
You need libs.

Audio streaming requires a lib.

MP3 decoding requires a lib unless you're a masochist (it's an incredibly complex format).

If you want to do this "by hand" you can, but it would be a lot of work and there wouldn't be much point.

There are many audio streaming libs that can play mp3 and other popular formats (like the superior .ogg ;D). If you use such a lib, this is a very simple thing to do.


What do you want this for? Is it for use in a game? Is it for a media player? How it will be used will make a difference in the appropriate lib to use.
Thanks for your reply.

I use it in a Windows Form, which is for a mini-game.
Topic archived. No new replies allowed.