NAME
====
  vg_sound_volm() - change volume


SYNOPSIS
========
  int vg_sound_volm(const char * sgname, int vol)


DESCRIPTION
===========
  Changes volume and returns previous value.

  sgname is a sound-name for a single soundfile (refer to vg_sound_attach()),
    a group-name for a group of soundfiles (refer to vg_sound_gadd()),
    "ALL" for all soundfiles,
    or "0" for the main (system) volume.

  vol is the volume, a value between 0 and 100
    or -1=don't change volume, only return current value.


RETURN VALUE
============
  If it succeeds, it returns the previous value (0 to 100).
  If an error occurs, it returns -1, giving out an error message to stderr.


SEE ALSO
========
  Index
  Understanding sound
  vg_sound_startserver()
  vg_sound_endserver()
  vg_sound_attach()
  vg_sound_play()
  vg_sound_paus()
  vg_sound_cont()
  vg_sound_pate()
  vg_sound_catb()
  vg_sound_stop()
  vg_sound_gclr()
  vg_sound_gadd()
  vg_sound_gdel()
  vg_sound_volumename()