Home > Java > javaTutorial > How to Play MP3s in Java Sound

How to Play MP3s in Java Sound

Barbara Streisand
Release: 2024-10-23 21:53:30
Original
1041 people have browsed it

How to Play MP3s in Java Sound

Java Sound doesn't inherently support MP3 playback. For the formats it supports in any given JRE, check AudioSystem.getAudioFileTypes().

One way to add MP3 support is to add the JMF-based mp3plugin.jar to the runtime classpath of the application.

The above is the detailed content of How to Play MP3s in Java Sound. For more information, please follow other related articles on the PHP Chinese website!

source:php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template