I only used Virtual DJ briefly before switching to Serato, but I had the same issue. I don’t remember off the top of my head, but it is an easy fix somewhere in the settings. I think it had something to do with the sampling frequency or something like that.
If you are just starting out and not dead-set on Virtual DJ, you can go download a free copy of the Serato DJ intro software from their site and give that a go….