vg4->audio->volume()
Set volume of main volume or of a volume-group.
SYNTAX
int
vg4->audio->volume(int vgidx, int volval)
FUNCTION PARAMETERS
vgidx | Volume-group: one of VG_AUDIO_VOLUMES, or VG_AUDIO_VOLUME_ALL = main volume |
volval | New value of the volume (0 to 255), (default = 100), or -1 = don't set |
RETURN VALUE
Returns the previous value of the volume.
DESCRIPTION
Set volume of main volume or of a volume-group.