Windows 10 : start rFactor 2 and then go to the Sound Settings. Click "App Volume and Device Preferences". In the opening Window you should see rFactor 2 listed and on the right of it, you should see Dropdowns with available Devices for In and Output. Select the ones that shall be used. That normally should work.