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

Can get ArrayIndexOutOfBoundsException when swapping bytes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0
    • 1.0
    • client-libs
    • kestrel
    • generic
    • generic

      Date: Tue, 13 Apr 1999 14:13:14 -0700 (PDT)
      From: Jan Borgersen <###@###.###>
      Subject: playback bug on win?
      To: ###@###.###
      Cc: ###@###.###
      MIME-Version: 1.0
      Content-MD5: OLgpgXSQzaQoTRZ5M7T5Mw==


      Kara,

      I don't know if you're aware of this.

      When I do playback on windows, I'm getting this exception
      during the OutputChannel.write() call. It happens with
      8K/8bit/mono and 11k/16bit/stereo. Haven't tried other
      formats. Works fine on Solaris.

      ---------

      Starting push playback...
      Push playback started.
      in Output:run.
      target.getBufferSize() = 16386
       READ 8193 from input stream
      > WRITING 8193 BYTES

      Returned success from GM_AudioStreamStart
      java.lang.ArrayIndexOutOfBoundsException
              at com.sun.media.sound.Toolkit.getByteSwapped(Compiled Code)
              at com.sun.media.sound.CircularBuffer.write(Compiled Code)
              at com.sun.media.sound.MixerChannel.write(Compiled Code)
              at Capture$Output.run(Compiled Code)
              at java.lang.Thread.run(Thread.java:479)

      ----------


      -j

            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: