Fix handling of revents in snd_pcm_poll_descriptors_revents()
Fix handling of revents in snd_pcm_poll_descriptors_revents()

The revents parameter is ambiguously defined whether it's a pointer
to a single event or an arary.

This patch defines the behavior of revents more strictly (in the
function description): it's a pointer of a single event.

Also fixed snd_pcm_wait_nocheck() to follow that rule.

Signed-off-by: Takashi Iwai <4596b3305151c7ee743192a95d394341e3d3b644@suse.de>

gittup/alsa-lib,zedongchen/alsa-lib,gittup/alsa-lib,Distrotech/alsa-lib,tiwai/alsa-lib,mikelima/alsa-lib,tiwai/alsa-lib,alsa-project/alsa-lib,Distrotech/alsa-lib,alsa-project/alsa-lib,takaswie/alsa-lib,gittup/alsa-lib,takaswie/alsa-lib,tiwai/alsa-lib,zedongchen/alsa-lib,alsa-project/alsa-lib,mikelima/alsa-lib,mikelima/alsa-lib,zedongchen/alsa-lib,Distrotech/alsa-lib,lgirdwood/alsa-lib,takaswie/alsa-lib,tiwai/alsa-lib,alsa-project/alsa-lib,takaswie/alsa-lib,mengdonglin/alsa-lib,lgirdwood/alsa-lib,lgirdwood/alsa-lib,zedongchen/alsa-lib,Distrotech/alsa-lib,gittup/alsa-lib,mikelima/alsa-lib,mengdonglin/alsa-lib,mikelima/alsa-lib,zedongchen/alsa-lib,Distrotech/alsa-lib,mengdonglin/alsa-lib,mengdonglin/alsa-lib,lgirdwood/alsa-lib,mengdonglin/alsa-lib,lgirdwood/alsa-lib,takaswie/alsa-lib