Provide an easy way to use javax.sound to play audio clips

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 22
    • Component/s: client-libs
    • 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

            Assignee:
            Philip Race
            Reporter:
            Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: