Audio playback design issues with WM8731
The playback speed issue is most likely a software problem. Or maybe a circuit design problem where you are hot clocking audio data into the D/A converter at the proper rate.

The other problem you describe is most likely the result of "aliasing" which is a common side-effect of analog to digital and digital to analog conversion. The analog audio must be properly bandwidth filtered to eliminate false alias signals.