]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Remove PCM xfer_align sw params
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jan 2008 17:05:26 +0000 (18:05 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:47 +0000 (17:29 +0100)
commitb2fd3047172c023ad8fd6569a11510e87a0ec090
tree1f8c98f21627e0ae1747c471dfbc3148923d80dd
parentb952ac2f7b0f125ac1bc8caf07c25ef3a1155c56
[ALSA] Remove PCM xfer_align sw params

The xfer_align sw_params parameter has never been used in a sane manner,
and no one understands what this does exactly.  The current
implementation looks also buggy because it allows write of shorter size
than xfer_align.  So, if you do partial writes, the write isn't actually
aligned at all.
Removing this parameter will make some pcm_lib_* code more readable
(and less buggy).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
include/sound/asound.h
include/sound/pcm.h
sound/core/oss/pcm_oss.c
sound/core/pcm.c
sound/core/pcm_lib.c
sound/core/pcm_native.c