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

SPEC: description of STOP event is inaccurate

    XMLWordPrintable

Details

    Description



      Name: dkR10031 Date: 12/10/2002



      The J2SE 1.4 API specification reads:
      "
      Class LineEvent.Type

      public static final LineEvent.Type STOP

      A type of event that is sent when a line ceases active input or output of
      audio data in response to a stop request, or because the end of media has
      been reached."

      But the specification also reads about one more reason for STOP
      event generation:
      "Interface SourceDataLine
      ......
      If the delivery of audio output stops due to underflow, a STOP event is
      generated."

      If this is not the same as "end of media" then this reason should be
      added to the STOP description. The description of STOP event should
      describe all cases when STOP event is generated.

      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              amenkov Alex Menkov
              dimasunw Dima Dima (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: