If headphones are not working with the virtual machine, follow these instructions, i.e., enable enhanced session mode, install guest additions, etc.