I get this error a decent amount when I switch from headset back to speakers, and the only way I've ever fixed it is by re-booting. I'm sure you've tried that already and that's no help. I researched the problem and the two main things I was told were
1. download/update/install drivers
2. check your hardware, clean out your CPU, etc...