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

Clip.getDuration() may return bogus negative values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.0, 1.4.0
    • client-libs
    • beta2
    • generic
    • generic
    • Verified


      From: Brian Lichtenwalter <###@###.###>

      Clip.getDuration() returns a bogus value. For ten seconds of capture
      getDuration() often returns a negative value such as -39547.0. According to the
      spec :

      getDuration()
                      Obtains the duration in nanoseconds of the audio data
            contained in the clip.

            fbomerssunw Florian Bomers (Inactive)
            kkytlesunw Kara Kytle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: