[ALSA] cmipci: fix distortion on rear channels
commitc36fd8c3cd682fa9bbe5b2cb4b99e16625a37c94
authorClemens Ladisch <clemens@ladisch.de>
Mon, 17 Sep 2007 07:41:36 +0000 (17 09:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:50:36 +0000 (16 16:50 +0200)
tree5fd2b7fbf3c29e915370dc504d7853c5a88487e4
parentebe9e289d870816b5d5dd6992a253f9a87f26cba
[ALSA] cmipci: fix distortion on rear channels

When playing multichannel data, the rear channels can get distorted if
the last sample of the last played stereo stream was not zero.  To avoid
this, add a hack to play a few silence samples after the stream is
stopped.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/cmipci.c