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: Unresolved
    • Icon: P3 P3
    • 26
    • 24, 25
    • client-libs
    • None

      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.

            kizune Alexander Zuev
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: