A man whistled after entering a room and the dog began to bark.