Documentation

Audio::Voice::SetPosition

Method in Voice

void SetPosition(double pos)

Sets the current position within the sample in seconds. Note that this is not an immediate action because voice mixing is performed in a different thread. (GetPosition() will not immediately return the same value as you pass here.)

double pos