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

getAudioInputStream(encoding,stream) fails when it shouldn't for alaw, ulaw

XMLWordPrintable

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

      Calling AudioSystem.getAudioInputStream(AudioFormat.Encoding.{ULAW,ALAW}, stream) for a stream with 16-bit, PCM samples throws an IllegalArgumentException stating that the conversion is unsupported. This conversion should be supported.

      A call to AudioSystem.isConversionSupported(AudioFormat.Encoding.{ULAW,ALAW}, stream) returns true, as expected.

            jborgerssunw Jan Borgersen (Inactive)
            jborgerssunw Jan Borgersen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: