AudioSystem defines these two methods for writing audio files:

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 1.3.0
    • Affects Version/s: 1.3.0
    • Component/s: 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?


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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: