SetSoundPosition()

语法

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

参数

#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.

返回值

无.

Remarks

Sounds loaded with the #PB_Sound_Streaming flag are not supported.

参阅

GetSoundPosition()

已支持操作系统

所有

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