• Max Kellermann's avatar
    output/alsa: check PCM state before calling snd_pcm_drain() · 543776d9
    Max Kellermann authored
    Apparently, if snd_pcm_drain() returns EAGAIN, it does not actually
    want to be called again; the next call will snd_pcm_drain() will also
    return EAGAIN, forever, even though the PCM state has meanwhile
    switched to SND_PCM_STATE_SETUP.  This causes a busy loop; to fix
    this, we should always check snd_pcm_state() to see if draining is
    really required.
    543776d9
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS 72 KB