-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there is no sun.audio jar in MusicUtil #16
Comments
sun.audio.AudioPlayer 和 sun.audio.AudioStream 是 Sun 的专有 Java API,它们并不是 Java 标准的一部分。在 Java 9 及以后的版本中,JDK 的模块化系统已经不再允许直接访问这些专有 API,而在 Java 11 及以后的版本中,这些 API 已经完全被移除。 如果你的项目依赖于这些 API,你需要将它们替换为标准的 Java API 或者其他的音频处理库。Java 的 javax.sound.sampled 包提供了一套完整的音频处理 API,你可以使用它来替换 sun.audio。 对于本例,可以修改 MusicUtil.java
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there is no sun.audio jar in MusicUtil as well as Internet.
So how can I get this jar
The text was updated successfully, but these errors were encountered: