Contents

stepInDecodeOrder(byCount:)

Moves the cursor a given number of samples in decode order.

Declaration

func stepInDecodeOrder(byCount stepCount: Int64) -> Int64

Parameters

  • stepCount:

    The number of samples to move across. If positive, step forward this many samples. If negative, step backward this many samples.

Return Value

The number of samples the cursor traversed. If the cursor reaches the beginning or the end of the sample sequence before the requested number of samples was traversed, the absolute value of the result will be less than the absolute value of the specified step count.

See Also

Navigating samples