boolean WAC_SetVolume (integer $InstanceID, integer $Volume)
InstanceID | ID of the controlled media player |
Volume | 0-100 (%) |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Fades the volume from the media player with the ID InstanceID within 500ms to the desired volume.
WAC_SetVolume(12345, 85);