diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-01-08 12:00:04 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:46 -0500 |
commit | fa5717f2099aadb2083d5df4d19af8f9685fa03e (patch) | |
tree | 563694ca22b8dd11467208457ccde81240c080f9 /include/asm-m32r/shmbuf.h | |
parent | 8ace4f3c9d83fd60e7539526a3a70bf5730db8c0 (diff) |
[ALSA] Fix PCM write blocking
The snd_pcm_lib_write1() may block in some weird condition:
- the stream isn't started
- avail_min is big (e.g. period size)
- partial write up to buffer_size - avail_min
The patch fixes this invalid blocking problem.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/asm-m32r/shmbuf.h')
0 files changed, 0 insertions, 0 deletions