]> git.alsa-project.org Git - alsa-plugins.git/commit
jack: Fix revents for playback
authorFons Adriaensen <fons@linuxaudio.org>
Mon, 9 Jan 2012 17:18:10 +0000 (18:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Jan 2012 17:18:10 +0000 (18:18 +0100)
commitb3fb514e0425d08aa0c6c747f36942b7899bab9b
tree14837dde7d4708d5f8559edcce257258bb7498b0
parentedfb903f625b7193c4127e91cbe641ba5f421c27
jack: Fix revents for playback

The following patch will make snd_pcm_poll_descriptors_revents()
return the correct value when used on a jack plugin device.
The current version returns POLLIN regardless of capture or
playback.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
jack/pcm_jack.c