Always prepare the ALSA PCM handle before starting capture
commitfd1458ce1bfef0d8f8baba0aff5edb5cfa0940a4
authorChris Robinson <chris.kcat@gmail.com>
Fri, 8 Jun 2018 12:02:47 +0000 (8 05:02 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Fri, 8 Jun 2018 12:02:47 +0000 (8 05:02 -0700)
tree773bdecdc9a56e39f3c3c7a1996e91d2d9f71d20
parent9c643f035671cbfa8c9c76d246b317778c6917d9
Always prepare the ALSA PCM handle before starting capture

Draining the ALSA device via stopping puts it into a setup state, which
requires re-preparing before playback can start again. Preparing it prior to
the first start seems to cause no harm, so just always do it before starting.
Alc/backends/alsa.c