Reduce the line input level to 30% in the windows audio controls. Using the meter in audacity, monitor the levels as you adjust them, making sure the levels don't clip.
Running line input level at 100% is most likely the cause of your sound distortion.