diff -Nur audacious-plugins-fedora-1.5.1-alsa-ng/src/alsa/alsa-core.c audacious-plugins-fedora-1.5.1/src/alsa/alsa-core.c --- audacious-plugins-fedora-1.5.1-alsa-ng/src/alsa/alsa-core.c 2009-06-29 18:01:20.000000000 +0200 +++ audacious-plugins-fedora-1.5.1/src/alsa/alsa-core.c 2009-06-29 20:12:36.000000000 +0200 @@ -45,6 +45,7 @@ static snd_mixer_t *amixer = NULL; static gboolean mixer_ready = FALSE; +static gint mixer_left, mixer_right; static snd_mixer_elem_t * alsaplug_get_mixer_elem_by_name(snd_mixer_t *mixer, gchar *name) @@ -140,6 +141,8 @@ { snd_mixer_elem_t *elem = alsaplug_guess_mixer_elem(amixer); + mixer_left = l; + mixer_right = r; if (elem == NULL) return; @@ -172,6 +175,11 @@ { snd_mixer_elem_t *elem = alsaplug_guess_mixer_elem(amixer); + *l = mixer_left; + *r = mixer_right; + if (!mixer_ready) { + return; + } if (elem == NULL) return;