ALSA: fix excessive background noise introduced by OSS emulation rate shrink
authorSteve Chen <schen@mvista.com>
Sat, 21 Feb 2009 14:05:04 +0000 (08:05 -0600)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2009 06:49:04 +0000 (07:49 +0100)
commit5370d96f85962769ea3df3a81cc885f257c51589
tree109090f4e1660340b5932d886991be471acf01e3
parente8bf069c419c1dc0657e02636441fe1179a9db14
ALSA: fix excessive background noise introduced by OSS emulation rate shrink

Incorrect variable was used to get the next sample which caused S2
to be stuck with the same value resulting in loud background noise.

Signed-off-by: Steve Chen <schen at mvista.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/rate.c