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.
- 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.
精彩评论