break out ALSA related functions into libardouralsautil