[Bsilvereagle] was running into just this sort of frustrating problem while attempting to send audio from a Nintendo Switch into a PC ... common problem known as a ground loop.
To ground your audio equipment, you need to follow some ... Fifth, use direct boxes or DI boxes that have a ground lift switch and a balanced output to convert unbalanced signals to balanced ...