It sounds (sic) like a simple case of your system needing a sound driver loading - very common after a Windows reinstall. Check in Device Manager, see if there's a yellow exclamation mark against your sound device. If there is, you almost certainly need to load the driver. If you're not certain what to do, mention it to your friend.
OnePlus 5T review: Hands-on