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

JavaSoundDemo playback loads file (au,wav) fails to play - "reset not supported"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description



      Name: rmT116609 Date: 03/10/2004


      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)

      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      SunOS macie 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-2
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      JavaSoundDemo does not work correctly, will not load and play included demo files in the Capture/Playback tab when running as an application (applet not tested).



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Download JavaSoundDemo.zip from Sun
      80634 Jan 31 2000 JavaSoundDemo.jar
      JavaSound.java 1.15 00/01/31

      (start demo, click on "Capture/ Playback" , and use load to select
      file included in the zip, from the audio subdirectory, spacemusic.au
      hit play, and get:

      Line matching interface SourceDataLine supporting format ULAW, 8000.0 Hz, 8 bit, mono, audio data not supported.

      Repeat process, load 1-welcome.wav and get

      Unable to reset the stream
      java.io.IOException: mark/reset not supported

      note: Jukebox tab loads the same files with no problems, and
      Playback can (sometimes) load a different au file and play it back


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expected to load and play back files included with demo
      ACTUAL -
      Got errors shown above and below, did not play the files.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      au file error message

      Line matching interface SourceDataLine supporting format ULAW, 8000.0 Hz, 8 bit, mono, audio data not supported.

      wav file error message

      Unable to reset the stream
      java.io.IOException: mark/reset not supported

      REPRODUCIBILITY :
      This bug can be reproduced always.

      (Incident Review ID: 238014)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: