SetSoundPosition()

Syntax

SetSoundPosition(#Sound, Position, [, Mode [, Channel]])
Description
Set the current sound position.

Parameters

#Sound The sound to use.
Position The new position to set.
Mode (optional) The mode used to set the position. It can be one of the following value:
  #PB_Sound_Frame      : the position is specified in frame (default). 
  #PB_Sound_Millisecond: the position is specified in milliseconds.
Channel (optional) The channel to set the position. It's the value returned by PlaySound() when using the #PB_Sound_MultiChannel flag.

Return value

None.

Remarks

Sounds loaded with the #PB_Sound_Streaming flag are not supported.

See Also

GetSoundPosition()

Supported OS

All

<- ResumeSound() - Sound Index - SoundLength() ->