Windows Direct Sound recoring, error opening recording device

So I know it’s common to get an error that says “Can not open recording device”, but that’s usually with a microphone or external device. I’m simply trying to get Audacity to record the sounds my speakers (A pair of headphones) are making, but I’m still getting this error. The most frustrating part is that I have been doing this with these headphones on this computer for literally years and have never gotten this error. I’ve been recording all night, and then randomly it started saying this. Any solutions?

Are you using [u]WASAPI (loopback)[/u]?