I 've tried this El-Cheapo but me-not-like-it. They ( I bought 2 of them) ended up in my closet.
It will tame the harsh digital sound from the jack-out of the laptop but it also makes the sound softer and less punchy with hard rock.

With this you can either use the optical adapter ( provided) to connect to your receiver optical input or you can hook your headphone directly to it without using the optical adapter. It's just not good enough for me.