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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:52:49 +0000 (17:52 -0700)
commit25ccc3009c9715ed86b5bde05416863dc4e25c56
treee62dc1f4729efb5e629559ea64559070b2b1726e
parent2b5934e976dc1be635c76af82e994fe62252394b
ALSA: fix excessive background noise introduced by OSS emulation rate shrink

commit 5370d96f85962769ea3df3a81cc885f257c51589 upstream.

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@mvista.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/core/oss/rate.c