"it doesn't play it out of the speakers or the headphone jack"
Wheres does it play from then if not from here? Or do you mean when it cuts out, hehe
Very weird though that its started 3 weeks ago and worked perfectly before. I would think drivers are the cause, and so what is your sound card? We might be able to lead you to some new drivers to try
If this doesn't work, there is always System Restore which might be able to go back 3 weeks to get it working again, though this would only revert back the settings of the driver probably which a new driver would probably fix.
After getting the new driver, you would then uninstall the drivers from the Device Manager within System in the Control Panel, and then restart the computer. The computer would then find that a soundcard is there but hasn't been installed yet, and would ask you to find a sound card driver which you could then specify to be the one you downloaded (after unzipping the file into a folder).
Though Windows might even find one automatically for the card
I hope this helps