Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8356049

Need a simple way to play back a sound clip

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 25
    • 24, 25
    • client-libs

      The simplest way today (JDK24) to play back a sound clip is using

      java.applet.AudioClip.getAudioClip.play(URL)

      However that will go away when java.applet is removed.

      A lightweight and direct replacement can be done in javax.sound since the current applet code just calls that anyway.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: