ALSA: implement device change event

credits to @anssih 
now ALSA can detect device changes too
those patches have been tested in my master branch for some time.