Semi-working WASAPI example