开发者

How to create a mp3 player? [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Building a si开发者_Python百科mple mp3 music player

I want to create simplest mp3 player in C or C++.

What function or API do I have to use ?


If you just want to write a C or C++ program which plays an mp3 file, you might want to look here: How to play MP3 files in C?.

If you are looking to write something more complex (say a full GUI application to select and play mp3s, including elements to play/pause, jump to a part of the song (and see what part is playing), and view song metadata, etc) than the best advice I can give you is to jump right into your program and start coding. The number of things that would need to be covered to give you an adequate response to a general question are very vast, and we don't know anything about what you are trying to do, what your experience is, or what you might have problems with.

If you jump into it and then ask questions if you get stuck on a part of it, it will overall be a lot more helpful for everyone.


Let me introduce you FMod. It is free for non-commercial use and supports tons of music and sound formats, not only mp3. You should take a look after it for sure! It is so great as simple for use i think.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜