Is it possible at all to play MP3 files using only the built-in libraries provided with JDK. I've heard of the javax.media library which is found is 1.7 I think. By the way I know of jlayer but I don't want to use it.
是否可以仅使用JDK提供的内置库来播放MP3文件。我听说过我发现的javax.media库是1.7。顺便说一下,我知道jlayer,但我不想使用它。
1 个解决方案
#1
0
Yes you can play MP3 file, but you need to download MP3 plugin because java framework only supports WAV and AIFF files.
是的你可以播放MP3文件,但你需要下载MP3插件,因为java框架只支持WAV和AIFF文件。
Check http://www.morgenstille.at/blog/how-to-play-a-mp3-file-in-java-simple-and-beautiful/
#1
0
Yes you can play MP3 file, but you need to download MP3 plugin because java framework only supports WAV and AIFF files.
是的你可以播放MP3文件,但你需要下载MP3插件,因为java框架只支持WAV和AIFF文件。
Check http://www.morgenstille.at/blog/how-to-play-a-mp3-file-in-java-simple-and-beautiful/