again updated alsa code