Anyone experiencing audio issues with VirtualBox on Linux and has a solution?

I've been using Virtualbox (now at 3.0.2) on Kubuntu (now at 9.04) for a while now, and I seem to have a problem when running Windows. Sometime after a while the audio will cut out in Kubuntu. The only way I can get it to recover is to make sure VirtualBox is completely shutdown and either going into multimedia under "system settings" and test the audio or restart.

I'm wondering if anyone else here has experienced similar issues and has come up with a more elegant solution. I can't seem to find a reasonable one at virtualbox.org.


Solution 1:

I've had similar problems with vmware and Ubuntu 8.10. I have since upgraded both the vmware and the OS. I am guessing that the new audio mixer can handle the virtual machine input more gracefully.

I would suggest upgrading to Ubuntu 9.10. If that alone doesn't solve the problem, perhaps upgrading Virtual Box would help.

Solution 2:

In the VirtualBox OSE control panel, under the 'Details' tab there is an audio section where you can select different devices for your virtual machine. You can try adjusting these settings.

Screenshot

Solution 3:

I have never experienced audio cut-out in VirtualBox. That sounds like a serious problem... is PulseAudio happy?

However, audio playback has always been choppy and variable (curiously though, VirtualBox's PulseAudio output is slighly less bad for me than straight ALSA), and if anything seems to have been getting worse over the 3.0.x series. It's got so bad I've taken to using REAPER under WINE instead, which I don't really enjoy much.