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

RFE: Need Toolkit.createAudioClip(byte[]) method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: vi73552 Date: 03/09/99


      We need a "Toolkit.createAudioClip(byte[])" method which does
      a similar job to "Toolkit.createImage(byte[])"

      Without such a method it is impossible to for a JavaBean to
      de-serialize a sound (eeg .au) file without using the
      Java Media Framework API.

      More seriously it is impossible for an applet written
      in Java 1.1 to access an .au file that is in a JAR file
      because Netscape doesn't support "getResource". You can read
      the file in from the JAR using "getResourceAsStream" but you
      can't then turn it into an AudioClip without a Toolkit
      method to do it.
      (Review ID: 55030)
      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: