This error occurs when the microphone permission is released in Windows 10. Make sure that microphone access to this device is turned on in Windows Settings-> Privacy-> Microphone, Make sure Allow apps to access your microphone is on