Instance Method

stepInPresentationOrderByCount:

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

Declaration

- (int64_t)stepInPresentationOrderByCount:(int64_t)stepCount;

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 beginning or the end of the sample sequence was reached before the requested number of samples was traversed, the absolute value of the result will be less than the absolute value of stepCount.

See Also

Traversing Samples

- stepByDecodeTime:wasPinned:

Moves the cursor by a given delta time on the decode timeline.

- stepByPresentationTime:wasPinned:

Moves the cursor by a given delta time on the presentation timeline.

- stepInDecodeOrderByCount:

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