summaryrefslogtreecommitdiffstats
path: root/sound/core/rawmidi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-01-08 18:00:04 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:46 +0100
commitfa5717f2099aadb2083d5df4d19af8f9685fa03e (patch)
tree563694ca22b8dd11467208457ccde81240c080f9 /sound/core/rawmidi.c
parent[ALSA] Remove indirect control access (diff)
downloadlinux-fa5717f2099aadb2083d5df4d19af8f9685fa03e.tar.xz
linux-fa5717f2099aadb2083d5df4d19af8f9685fa03e.zip
[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 'sound/core/rawmidi.c')
0 files changed, 0 insertions, 0 deletions