开发者

How to play mp3 with FMJ?

I read in the API, but still not found out how to pl开发者_C百科ay a mp3. I have not found any tutorials...

Can someone tell me how to use FMJ ? Or give me some tutorial links?

Thank you


If you can figure how to play a sound file using Java Sound (avoid Clip(1)), then it is possible to play MP3 files by adding the JMF based mp3plugin.jar to the run-time class-path of the application.

  1. Clip is fine for small sound samples, but is has a limit of just 2 seconds of 16 bit stereo, 44.1 KHz sound, on most Sun JREs.
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜