• Jean-Paul Saman's avatar
    access/alsa.c: snd_pcm_readi() before snd_pcm_wait() · 4fca6a51
    Jean-Paul Saman authored
    The alsa provided 'arecord' application tries to read first before doing
    a snd_pcm_wait() (aka poll). Doing it the other way results in loss of
    capture buffers when the system is under load. This is either a bug in
    alsa implementation of snd_pcm_wait() or something else. The disadvantage
    is that there seems to be a lot more overruns now.
    4fca6a51
alsa.c 25 KB