add alsa audio record func