Return meaningful error codes when ALSA backend fails to start
authorTim Mayberry <mojofunk@gmail.com>
Sat, 26 Sep 2015 11:03:02 +0000 (21:03 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Wed, 30 Sep 2015 23:10:19 +0000 (09:10 +1000)
commitdcf327f86aa4fad565f39e1cd88cc99644e88ee9
treeeb8ecb7cc51aa1ed531dbcb28bbac4fcb44d7b54
parentaa713fcd833a037290e92ba59500354cba7f6cbb
Return meaningful error codes when ALSA backend fails to start

Unfortunately it seems that in zita-alsa-pcmi doesn't set state() correctly in
some cases. Setting an invalid SR doesn't display the correct error message,
first guess would be that set_hwpar is failing and state() is not
representative of the actual error.
libs/backends/alsa/alsa_audiobackend.cc