ok i fixed it by using some sort of USB device that i plugged my headphones and microphone jacks into, and then connecting that device to my PC
idk why this works but yeah buy one of...those things, whatever they're called, if you run into these problems as well