]> git.sesse.net Git - nageru/commit
Make ALSA initialization errors fail-soft.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 10 Sep 2016 09:51:50 +0000 (11:51 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 19 Oct 2016 22:55:44 +0000 (00:55 +0200)
commit5bee3fa2ae1655c98e0b099bd28e622f0a13cca1
treefb838ee41416e3ab4bbf62279e704b3ac30ff9e0
parenta0e27555696d0c63e3d89e31ca8f4292dcf40179
Make ALSA initialization errors fail-soft.

Instead of exit(1) whenever something in ALSA initialization fails,
we now return false and try again after a second. (This means we could
potentially be doing init for a long time, so it is moved to the
capture thread.)
alsa_input.cpp
alsa_input.h