Steinberg UR22 mk II sounds distorted (with clip)

Hey, I just bought a Steinberg UR22 mk II audio interface. I plugged it into my Macbook Air, which worked fine when I used a Scarlett interface last year. Listening through the headphone jack on the interface, my voice sounds normal. However, if I record through Logic and play back, it sounds like this:

Since it sounds fine through the headphones, the problem must be related to the computer, right?