Class FlacSeekPoint
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.container.flac.FlacSeekPoint
-
public class FlacSeekPoint extends java.lang.ObjectFLAC seek point info. Field descriptions are from: https://xiph.org/flac/format.html#seekpoint- For placeholder points, the second and third field values are undefined. - Seek points within a table must be sorted in ascending order by sample number. - Seek points within a table must be unique by sample number, with the exception of placeholder points. - The previous two notes imply that there may be any number of placeholder points, but they must all occur at the end of the table.
-
-
Field Summary
Fields Modifier and Type Field Description longbyteOffsetOffset (in bytes) from the first byte of the first frame header to the first byte of the target frame's header.static intLENGTHintsampleCountNumber of samples in the target frame.longsampleIndexSample number of first sample in the target frame, or 0xFFFFFFFFFFFFFFFF for a placeholder point.
-
Constructor Summary
Constructors Constructor Description FlacSeekPoint(long sampleIndex, long byteOffset, int sampleCount)
-
-
-
Field Detail
-
LENGTH
public static final int LENGTH
- See Also:
- Constant Field Values
-
sampleIndex
public final long sampleIndex
Sample number of first sample in the target frame, or 0xFFFFFFFFFFFFFFFF for a placeholder point.
-
byteOffset
public final long byteOffset
Offset (in bytes) from the first byte of the first frame header to the first byte of the target frame's header.
-
sampleCount
public final int sampleCount
Number of samples in the target frame.
-
-