It sounds like a physical issue, rather than software. It put out actual sound, if you wiggle the cable in the jack.
So the PC is actually trying to output, just the jacks aren't working. As this is an "old Gateway", no telling how it got that way.
How are your soldering skills?