aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-01-08 12:05:26 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:47 -0500
commitd948035a928400ae127c873fbf771389bee18949 (patch)
tree1f8c98f21627e0ae1747c471dfbc3148923d80dd /Documentation
parentfa5717f2099aadb2083d5df4d19af8f9685fa03e (diff)
[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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
index 48e4053eda12..835e320eeb4d 100644
--- a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
+++ b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
@@ -2188,7 +2188,6 @@ struct _snd_pcm_runtime {
2188 struct timespec tstamp_mode; /* mmap timestamp is updated */ 2188 struct timespec tstamp_mode; /* mmap timestamp is updated */
2189 unsigned int period_step; 2189 unsigned int period_step;
2190 unsigned int sleep_min; /* min ticks to sleep */ 2190 unsigned int sleep_min; /* min ticks to sleep */
2191 snd_pcm_uframes_t xfer_align; /* xfer size need to be a multiple */
2192 snd_pcm_uframes_t start_threshold; 2191 snd_pcm_uframes_t start_threshold;
2193 snd_pcm_uframes_t stop_threshold; 2192 snd_pcm_uframes_t stop_threshold;
2194 snd_pcm_uframes_t silence_threshold; /* Silence filling happens when 2193 snd_pcm_uframes_t silence_threshold; /* Silence filling happens when