commit | fa5717f2099aadb2083d5df4d19af8f9685fa03e | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jan 08 18:00:04 2008 +0100 |
committer | Jaroslav Kysela <perex@perex.cz> | Thu Jan 31 17:29:46 2008 +0100 |
tree | 563694ca22b8dd11467208457ccde81240c080f9 | |
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>