Skip to content

GetChannelPos

Description

Gets the position of the current track in the given channel.

Parameters

channel

The ID of the channel to check.

Return Value

Returns the current position of the channel's track, in samples, as a uint32.

Syntax

RSDK.GetChannelPos(uint32 channel);
channels[uint8 channel].AudioPos();

Example

uint32 trackPos = RSDK.GetChannelPos(0);
uint32 trackPos = channels[0].AudioPos();