Ok, I just removed the belt to check the pulley. They all seem to be ok. The tensionner pulley run really smooth.
I took a long screwdriver and used it as a stethoscope to try to find the source of the whining. I'll upload a picture to show where I've checked.
EDIT: here's a video of the pullies running: