ALSA: snd-aloop - fix the "PCM Playback Channels" kcontrol

Obvious copy-and-paste error.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2010-09-15 08:01:57 +02:00
parent d7d28bc29f
commit 1446c5fba7

View file

@ -809,7 +809,7 @@ static int loopback_channels_get(struct snd_kcontrol *kcontrol,
ucontrol->value.integer.value[0] =
loopback->setup[kcontrol->id.subdevice]
[kcontrol->id.device].rate;
[kcontrol->id.device].channels;
return 0;
}