WASAPI device name encoding fix, fixed skipped samples in WASAPI buffer conversion