I downloaded the Wine 1.7.18 source code from Sourceforge, installed the dependencies according to the ./configure file and compiled & installed (sudo make && sudo make install
).
The installation was finished successfully. I clicked the audio tab to configure audio, but it says Selected driver:(None). I can't even change the driver. When I click Test Sound button, no sound is heard. Here is a screenshot:
The error I got when clicking Test Sound button was:
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
How can I fix this sound problem ?
UPDATE
This same error happened on Ubuntu 10.04 LTS and Ubuntu 14.04 LTS.
Best Answer
Run the following commands to get pulseaudio working with wine:
This will update Wine to a version that supports pulseaudio. Once you have done that, open winecfg and select PulseAudio Driver under Sound Drivers.
Go to WebUpD8 for a complete tutorial on getting pulseaudio to work with wine.