win-wasapi.dll Error in Windows 10 and 11: OBS Windows audio capture errors

OBS video records normally but desktop or microphone audio is absent, or diagnostics name win-wasapi.dll.
What this DLL does
This OBS module implements Windows audio source support using WASAPI.
Start with this check
Compare the meter for a known audio endpoint with Windows Sound settings. Confirm the intended endpoint is selected in the scene.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
A moving audio meter with a silent recording can mean that the recording track is mapped differently. Check the app’s mixer and track selection before changing devices.
Choose the repair that fits
Repair OBS if its module cannot load. If the module starts but the device is absent, reconnect it and use the sound-device manufacturer’s supported driver or firmware instructions.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Record a local test and confirm the selected channel has audible input after playback.
For a related check, see mmdevapi.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: OBS Windows audio capture plug-in.