Restarting alsa recording should work now.
Slightly modified logic flow for readability.
Merge branch 'alsa'