It happens when when audio stopped working and you get this error.

To fix the error please follow the given instructions below.
1. Go t0 Start->Run and type services.msc and hit enter button

3. Go to service name as "Windows Audio". Right Click on it and select "Start"

That's all ;)