-
Enhancement
-
Resolution: Fixed
-
P3
-
1.3.0
-
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?
======================================================================