AudioScanRange

class AudioScanRange(val from: Pts? = null, val until: Pts? = null)

A stretch of one audio track to scan, in the stream's own timeline.

from seeks before decoding, and the scan starts at the first frame the container can begin at, which is at or before from. until stops the scan at the first block that ends at or after it. Both are inclusive of the blocks that straddle them, so two ranges that meet cover every sample between them, and each covers a little more.

Constructors

Link copied to clipboard
constructor(from: Pts? = null, until: Pts? = null)

Properties

Link copied to clipboard
val from: Pts?

Where to seek before decoding. Null starts at the beginning of the stream.

Link copied to clipboard
val until: Pts?

Where to stop. Null decodes to the end of the stream.