SoundVolume()

语法

SoundVolume(#Sound, Volume [, Channel])
概要
Change the sound volume, in real-time.

参数

#Sound The sound to use. If #PB_All is specified, all the sounds (and all channels) are affected.
Volume The new volume for the sound. Valid values are from 0 (no volume) to 100 (full volume).
Channel (optional) The channel to use. It's the value returned by PlaySound() when using the #PB_Sound_MultiChannel flag. If #PB_All is specified, all the channels of the sound are affected.

返回值

无.

参阅

LoadSound()

已支持操作系统

所有

<- SoundStatus() - Sound Index - StopSound() ->