-
Enhancement
-
Resolution: Unresolved
-
P4
-
22
-
None
There's no non-deprecated easy way to simply play an audio clip in a supported format.
javax.sound requires the application to write a lot of boiler-plate code
The easiest is to use Applet's AudioClip, which is actually built on top of javax.sound
But the java.applet package is deprecated for removal.
We should surface the functionality somewhere else.
Not sure where exactly, but probably somewhere under javax.sound
This limitation was raised and discussed here :
https://mail.openjdk.org/pipermail/client-libs-dev/2023-December/016735.html
javax.sound requires the application to write a lot of boiler-plate code
The easiest is to use Applet's AudioClip, which is actually built on top of javax.sound
But the java.applet package is deprecated for removal.
We should surface the functionality somewhere else.
Not sure where exactly, but probably somewhere under javax.sound
This limitation was raised and discussed here :
https://mail.openjdk.org/pipermail/client-libs-dev/2023-December/016735.html