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

Sound: the spec for javax.sound packages contains some misprints

    XMLWordPrintable

Details

    • beta
    • generic
    • generic

    Description



      Name: abR10010 Date: 04/22/2002



      The specification for the javax.sound packages contains following misprints:

      1. javax.sound.sampled.FloatControl class:
       
      The spec for the both FloatControl constructors says about their parameters:

      ...
          minimum - the largest value permitted for the control
          ^^^^^^^ ^^^^^^^
          maximum - the smallest value permitted for the control
          ^^^^^^^ ^^^^^^^^
      ...

      Here the "smallest" and the "largest" sould replace each other.

      2. javax.sound.sampled.ReverbType class:

        The spec for the both getEarlyReflectionIntensity() and
        getLateReflectionIntensity() methods says these methods return the
        reflection intensity in microseconds.
                                ^^^^^^^^^^^^

        But the returned value should be in dB (decibels).

      3. javax.sound.sampled.AudioSystem class:

          The spec for the isLineSupported(Line.Info info) method contains
        the minor misprint:
        "...
        Indicates whether the the system supports any lines that match the specified
                          ^^^^^^^
        Line.Info object. A line is supported if any installed mixer supports it.
        ..."

        Double "the" should be fixed.

      4. javax.sound.midi.Sequencer class:

        The spec for Sequencer.startRecording() method says:
          "Any events already in the track are overwritten for the duration of the
        recording session. Events from the currently loaded sequence, if any, are
        delivered to the sequencer's MIDI OUT receiver(s) along with messages
                                   ^^^^^^^^^^^^
        received during recording. "

        But it should be "sequencer's MIDI OUT transmitters" according
        to MidiDevice spec.
       
      ======================================================================

      Attachments

        Activity

          People

            fbomerssunw Florian Bomers (Inactive)
            bondsunw Bond Bond (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: