Host OS - Windows 10 64-bit
Guest OS - Ubuntu 18.04.1 LTS
Using latest Virtual box (6.0.2) and already installed latest guest additions

In the virtualbox audio settings:
Host audio driver: Windows Directsound
Audio controller: ICHAC97 (other options are Intel HD audio and Soundblaster)

With ICHAC97, the youtube video is playing fine but audio is crackling and repeating.
If I change to Intel HD audio, the video doesn't play at all and of course no audio.

  • Having exactly same problem, also Win 10 64 bit host and Ubuntu 18.04 Guest. Still running on virtualbox 5.2.24 because Virtualbox 6 not able to boot my VMs at all. There are already lot of tickets on virtualbox.org about that problem with audio and video.
    – Andi S.
    Jan 17 '19 at 13:15
  • @AndiS. well that's a shame. Seems like the problem going on for a long time from reading forums.
    – Cruise5
    Jan 17 '19 at 20:24
  • 1
    Well maybe this could be of interest to some, I just installed a minimal Debian 9.6 and had exactly the same behavior you mentioned until I realized I haven't installed pulseaudio, so everything sounds like a charm, with Intel HD Audio by the way.
    – James
    Jan 18 '19 at 16:38
  • 1
    Thanks. That did the trick. I followed this guide to install the GUI of pulse audio linuxhint.com/pulse_audio_sounds_ubuntu and then in the configuration tab, changed to profile from analog stereo duplex to analog stereo output. Using intel hd audio in virtualbox now and no crackling.
    – Cruise5
    Jan 21 '19 at 23:54
  • @AndiS. See first answer.
    – Cruise5
    Jan 21 '19 at 23:55

Solved for me changing pulseaudio settings (pavucontrol) on a debian 10 to analog stereo output instead of analog stereo duplex enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.