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

AudioSystem defines these two methods for writing audio files:

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • client-libs
    • None
    • kestrel
    • generic
    • generic



      Name: kk38543 Date: 10/08/99


      [ Change suggested by Doug Keislar. ]

      AudioSystem defines these two methods for writing audio files:

      public static int write(InputStream in,
      AudioFileFormat format,
      OutputStream out)
      throws IOException;
       
      public static int write(InputStream in,
      AudioFileFormat format,
      File out)
      throws IOException;

      It is ambiguous what should happen if the first parameter is actually
      an AudioInputStream with a format that is different than the format
      specified in the second parameter: should a conversion be supplied if
      supported? If not, should an exception be thrown? Or should the format
      of the AudioInputStream be ignored?


      ======================================================================

            kkytlesunw Kara Kytle (Inactive)
            kkytlesunw Kara Kytle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: