The phonograms W and WH are pronounced differently by some dialects.
Here is a fun link to a website where you can try to hear the differences. If your particular dialect pronounces them the same it can be challenging to hear. Listen for more air with the /wh/. This link includes Two pronuncations of when.
To hear other words, search for why, what, where, etc.