• Jeffrey Middleton's avatar
    alsa_plugin.c: workaround snd_pcm_drain bug · 4dc25d39
    Jeffrey Middleton authored
    Reintroduce a fix from commit 52a06531 (Warren Dukes): "don't call
    snd_pcm_drain unless we're already in the RUNNING state". This prevents
    ALSA with dmix from sometimes hanging when snd_pcm_drain is called, e.g.
    when moving from one song to the next (as in mantis issue 2634).
    4dc25d39
alsa_plugin.c 14.1 KB