diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-01-08 18:00:04 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 17:29:46 +0100 |
commit | fa5717f2099aadb2083d5df4d19af8f9685fa03e (patch) | |
tree | 563694ca22b8dd11467208457ccde81240c080f9 /include | |
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')
0 files changed, 0 insertions, 0 deletions