]> git.alsa-project.org Git - alsa-utils.git/commit
aplay - Reset non-blocking flag before snd_pcm_drain()
authorTakashi Iwai <tiwai@suse.de>
Fri, 14 Dec 2007 14:29:51 +0000 (15:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Dec 2007 14:29:51 +0000 (15:29 +0100)
commitbeecc1419e32edc5bbd3dfdec4e3e0f9cc23ef4d
treea2c2b09b1962b17854ecd04e449153c59ec432fd
parent8d7759aa3242e43347d31ecedf93da9ac76ed4b1
aplay - Reset non-blocking flag before snd_pcm_drain()

snd_pcm_drain() doesn't block when running with O_NONBLOCK.
Reset the non-blocking mode before calling snd_pcm_drain() properly
(and restore again for any further operations).
aplay/aplay.c