HGE::Channel_SetPos

Skips forwards or backwards in a playing channel.

void Channel_SetPos(
  HCHANNEL channel,
  float fSeconds
);

Parameters

channel
Handle of an audio channel to be modified.
fSeconds
New position the playhead should be moved to.

Remarks

If fSeconds specifies an invalid position (e.g., a negative value or a value beyond the channel's length), this function does nothing.

Requirements

Header: hge.h
Import library: hge.lib

See also

Channel_GetPos, Channel_GetLength