working example of Alsa