开发者

How to play mp3 with FMJ?

开发者 https://www.devze.com 2023-02-19 20:50 出处:网络
I read in the API, but still not found out how to pl开发者_C百科ay a mp3. I have not found any tutorials...

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

精彩评论

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

关注公众号