This patch adds ALSA volume support. slstatus on-purpose makes use of
/dev/mixer per default because it is a much simpler interface and
all distributions still support it. Anyone refusing to use it may use
To use, add
LDFLAGS and pass the
control name (e.g. Master) as argument to
vol_perc in config.h.
For adding support regarding mute status: