Sound good on Ubuntu 18.04, but crackled, non-homogeneous on my Windows 10 VM

I have a very strange issue. I installed my speakers on my PC where Ubuntu is installed as the main OS. The sounds is perfect! When I installed my virtual machine with Windows 10, the sound become cracked, non-homogeneous. I can hear something but the sounds is terrible. How can I fix that?