access/alsa.c: Read first before using snd_pcm_wait(), just like arecord does.
access/alsa.c: Read first before using snd_pcm_wait(), just like arecord does.

Read first before using snd_pcm_wait(), just like arecord does.
(cherry picked from commit 4b0e0dcd63952c5ef466742b9930ac5632ac8bd3)

jomanmuk/vlc-2.2,vlc-mirror/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc,shyamalschandra/vlc,vlc-mirror/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,shyamalschandra/vlc,vlc-mirror/vlc,krichter722/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.1,krichter722/vlc,xkfz007/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.1,xkfz007/vlc,vlc-mirror/vlc-2.1,xkfz007/vlc,vlc-mirror/vlc,shyamalschandra/vlc,shyamalschandra/vlc,krichter722/vlc,xkfz007/vlc,krichter722/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,xkfz007/vlc,vlc-mirror/vlc,jomanmuk/vlc-2.2,krichter722/vlc,vlc-mirror/vlc,jomanmuk/vlc-2.2,xkfz007/vlc,vlc-mirror/vlc,krichter722/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,krichter722/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.1,shyamalschandra/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,xkfz007/vlc