Small bugfixes for the WASAPI sink