Interface Mp3Seeker

    • Method Detail

      • getDuration

        long getDuration()
        Returns:
        The duration of the file in milliseconds. May be an estimate.
      • isSeekable

        boolean isSeekable()
        Returns:
        True if the track is seekable.
      • seekAndGetFrameIndex

        long seekAndGetFrameIndex​(long timecode,
                                  SeekableInputStream inputStream)
                           throws java.io.IOException
        Parameters:
        timecode - The timecode that the seek is requested to
        inputStream - The input stream to perform the seek on
        Returns:
        The index of the frame that the seek was performed to
        Throws:
        java.io.IOException - On IO error