Refactor all of the ALSA-derived types so as not to conflict with ALSA.