Finished ALSA implementation