If you prefer a wired solution, you can use a capture card, which converts HDMI input to a USB signal that your laptop can read. That's because most Windows laptops only have HDMI-out ports ...
I've been trying to get my laptop to send audio over the HDMI output into the HDMI ARC input on a new amp. Didn't work with the 11yo v1.2 cable I'd been using but also doesn't work with the one ...