Choppy sounds on line in

Hey! I’m trying to setup a local loopback listen on my new computer, so I can listen to my switch through my PC headphones while I’m talking to people on it. But for some reason the line in audio is incredibly choppy. I’m not sure what’s causing this or how to fix it. It has this issue before the loop back in initiated too. Here’s a video you can watch to get an idea of what it sounds like.
h t t p s : / / u . pcloud.link/publink/show?code=XZ5mJ8XZVhsj8kT9GuJffrsAVgnPc8WeSClV

For those looking for an answer on this it seems my issue was a ground loop causing noise. Turns out the Switch in its dock is exceptionally bad for it. Discovered this when I hooked up an ipod to test different options with pacmd. Threw on an isolator from Amazon and it fixed it right away.