Add error handlers for alsa-lib errors