Clean up code in audio-io.c

Clean up a little bit of code that was unnecessarily nested.  Still a
little squishy but better than it was.