alsa_plugin.c: workaround snd_pcm_drain bug
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).
Showing
Please
register
or
sign in
to comment