You're trying to play an audio file in Windows Media Player, and instead of music you get error 0XC00D0BD0 — NS_E_INVALID_SAMPLING_RATE. Annoying, but straightforward to fix. What's actually happening here is that the audio file has a sampling rate Windows Media Player's built-in decoders can't handle.
The Quick Fix: Re-encode the file to 44.1 kHz
Windows Media Player (WMP) on Windows 10 and 11 only reliably supports sampling rates of 44.1 kHz and 48 kHz. If your file is 96 kHz, 192 kHz, or something weird like 8000 Hz, WMP chokes. The fix is to re-encode the audio to 44.1 kHz using a free tool like Foobar2000, Audacity, or FFmpeg.
Using FFmpeg (fastest, command line):
ffmpeg -i input_file.wav -ar 44100 output_file.wav
Replace input_file.wav with your file's path. The -ar 44100 flag sets the audio sampling rate to 44.1 kHz. Do this for MP3, WAV, FLAC — FFmpeg handles them all. If you don't have FFmpeg, grab the static build and unzip it to a folder you can run from the command line.
Using Audacity (GUI):
- Open the file in Audacity.
- Click the audio track's left dropdown menu (the one that shows the sample rate).
- Select 44100 from the list.
- Go to File > Export > Export as WAV or MP3.
- Save and try playing in WMP again.
The reason step 3 works is that resampling converts the original audio data to a rate WMP's decoder expects. WMP uses the Windows Audio Session API (WASAPI) under the hood, which is picky about sample rates unless you've got exclusive mode apps running. Most consumer audio hardware and WMP default to 44.1 kHz, so forcing your file to match eliminates the error.
Why This Error Happens
WMP doesn't support arbitrary sample rates natively. The error code 0XC00D0BD0 translates to “invalid sampling rate” — a direct rejection from the media foundation pipeline. Files recorded at 96 kHz (common in professional audio) or 8 kHz (telephone quality) will trigger it. WMP's decoder simply sees a rate it wasn't designed to handle and bails out immediately.
It's not a broken file. It's not a corrupt codec. It's a format mismatch. WMP is a legacy app last updated seriously in the Windows 7 era. It's not built for high-resolution audio. The error is WMP's way of saying “I don't know what to do with this.”
Less Common Variations
Same error, different context:
| Scenario | Fix |
|---|---|
| Error in Windows Media Center (old Windows 7/8) | Same resampling fix applies. WMC uses the same decoder. |
| Error in a third-party app that uses WMP's engine | Check the app's settings for a “use system decoder” toggle. If not, resample the file. |
| Error when streaming audio from a media server (e.g., DLNA) | Server might be transcoding to an unsupported rate. In Plex or Kodi, enable audio transcoding to 44.1 kHz. |
| Error with very old audio files (e.g., 22 kHz WAVs from the 90s) | Same — resample to 44.1 kHz. No other workaround exists. |
One edge case: if you're playing a file from a CD-ROM that uses a custom sample rate (like 22050 Hz), WMP will also fail. Rip the CD to a standard 44.1 kHz file using Exact Audio Copy or Windows Media Player's own ripping feature.
Prevention: Stop Using WMP for Modern Audio
The real fix is to stop relying on Windows Media Player. It's abandonware. Use VLC media player instead — it handles any sample rate you throw at it without complaints. VLC's decoder is built on FFmpeg, which parses audio metadata and resamples on the fly if needed.
If you must keep WMP around, follow these rules to avoid the error:
- Only feed it files with sample rates of 44100 Hz or 48000 Hz.
- When downloading music from online stores, check the file properties (right-click > Properties > Details) for the sample rate before adding to your library.
- Batch-convert any high-res FLAC or WAV files to 44.1 kHz using Foobar2000's converter. Set the output format to “44100 Hz” in the processing options.
- For podcasts or audiobooks encoded at 32 kHz, convert them to 44.1 kHz as well.
One more thing: if you're on Windows 11 and WMP gives you this error, consider using the newer Media Player app (from the Microsoft Store). It's a different codebase and handles more sample rates, though it still has limits. VLC is still better for any edge cases.