Sounds like interference. Try right clicking the speaker icon in the notification area and select 'Playback devices'. Right click on your speakers in the window that appears and select properties. Under the advanced tab select the default format and test the sample and bit rate when running in shared mode. Stick to 24 bit first at the lowest setting then work up. See if it makes any difference.
OnePlus 5T review: Hands-on