Completed ALSA input, dropped AudioInput and BaseInput and removed libavdevice dependency.