add modification from patches prepared for alsa-devel