Replace the axial capacitors on the logic board. If that doesn't solve the sound problem, then the sound chip is probably gone and you're looking for a replacement logic board.
It can be the headphones jack too but I haven't seen them gone bad often. If you don't see any abvious corrosion on the jack, it's likely good but test it with a multimeter to make sure.
It can be the headphones jack too but I haven't seen them gone bad often. If you don't see any abvious corrosion on the jack, it's likely good but test it with a multimeter to make sure.