Update ao_wasapi.c based on comments from wm4
Reformat with astyle --style=kr --max-code-length=80
Remove some redundant code