Changed the place of the configuration value

This commit is contained in:
Pierre Pronchery 2010-05-04 01:02:17 +00:00
parent 7951d6b55a
commit 23f3eb55fe

View File

@ -136,7 +136,7 @@ static Volume * _volume_new(PanelAppletHelper * helper)
#ifdef AUDIO_MIXER_DEVINFO
volume->mix = -1;
volume->outputs = -1;
if((mixer = helper->config_get(helper->priv, NULL, "mixer_device"))
if((mixer = helper->config_get(helper->priv, "volume", "device"))
== NULL)
mixer = "/dev/mixer";
if((volume->fd = open(mixer, O_RDWR)) < 0)