Alsa c programming