Commit 01cb7021 authored by Raymond Yau's avatar Raymond Yau Committed by Takashi Iwai

ALSA - au88x0 - add Playback Volume to 10 bands Equalizer Controls

Add " Playback Volume" to 10 bands Equalizer Controls of au88x0 so that
alsa-lib won't regard them as "Capture Volume".
Signed-off-by: default avatarRaymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6ba9256c
...@@ -896,7 +896,8 @@ static int __devinit vortex_eq_init(vortex_t * vortex) ...@@ -896,7 +896,8 @@ static int __devinit vortex_eq_init(vortex_t * vortex)
if ((kcontrol = if ((kcontrol =
snd_ctl_new1(&vortex_eq_kcontrol, vortex)) == NULL) snd_ctl_new1(&vortex_eq_kcontrol, vortex)) == NULL)
return -ENOMEM; return -ENOMEM;
strcpy(kcontrol->id.name, EqBandLabels[i]); snprintf(kcontrol->id.name, sizeof(kcontrol->id.name),
"%s Playback Volume", EqBandLabels[i]);
kcontrol->private_value = i; kcontrol->private_value = i;
if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0)
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment