The sound went off from my headphone while in game. Speaker still seems to work. I tried update RealTek HD audio driver and installing the driver that I downloaded from its website, but none works. I noticed that headphone disappears from device manager->audio inputs and outputs, which only left microphone and speakers. I also ran the sound troubleshoot, this is what it says:
The device does not appear to be plugged in. Check the connection, plug in the device, then click next
Apparently I already plugged in the headphone but windows doesn't detect it. Why? This problem bugged me for days.