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

JavaSoundDemo cannot playback loaded wav files

XMLWordPrintable

    • b30
    • x86, sparc
    • solaris_9, windows_2000

      Name: rmT116609 Date: 11/04/2003


      FULL PRODUCT VERSION :
      java version "1.4.2_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
      Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)

      FULL OS VERSION :
      Microsoft Windows 2000 [Version 5.00.2195

      A DESCRIPTION OF THE PROBLEM :
      JavaSoundDemo cannot playback sample wav file or any recorded and then saved wav file.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open JavaSounddemo. Go to capture/playback tab.
      Load file "1-Welcome.wav" from the samples.
      It is displayed properly.
      But clicking on Play causes the following console output:
        Unable to reset the stream
        java.io.IOException: mark/reset not supported

      Tested on three machines, two with JDK 1.4.2, one with JRE 1.4.2: Failed on all.
      Tested with JRE 1.4.1 and JDK 1.4.1: works.

      I have an app which uses code similar to the SoundDemo, and so this app is broken, too. That's why I consider the problem critical.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Using 1.4.1 instead.
      (Incident Review ID: 223124)
      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: