[SOLVED] No sound in wine

[SOLVED] No sound in wine

Postby mla » Jul 30th, '12, 19:46

I am trying to get sound working in a Windows program run via wine. The advice I get on the Net is to use winecfg to ensure that ALSA is on and OSS is off. Trouble is, the Audio tab of winecfg gives me no such options. All pull down menus contain just "(System default)" and nothing else. If I click on the "Test Sound" button, all that happens is that the following appears in the terminal window from which winecfg is run:

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
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


Searching the net again, I am advised to use the command "winetricks sound=alsa", but there does not seem to be such a command available on/for Mageia.

Any suggestions anybody?
Last edited by mla on Jul 31st, '12, 16:13, edited 1 time in total.
mla
 
Posts: 292
Joined: Sep 16th, '11, 16:10

Re: No sound in wine

Postby doktor5000 » Jul 30th, '12, 21:58

Just run the program normally via wine without changing anything, sound should be going to PulseAudio by default, if you haven't disabled that.
FWIW, the audio part of winecfg is rather crashy, or at least the Test button, even on working setups.

Also, you should not "search the net" first but maybe directly ask here before, as there are some specialities for most distributions
with integration and sound setup and such, so you can't just blindly apply any hint without understandind and adapting it,
after knowing if it would be really needed.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No sound in wine

Postby mla » Jul 30th, '12, 23:04

Trouble is, without changing anything, Windows programs produce no sound at all under wine. I wouldn't be even thinking about fiddling with winecfg otherwise. :-)
mla
 
Posts: 292
Joined: Sep 16th, '11, 16:10

Re: No sound in wine

Postby mla » Jul 31st, '12, 16:13

OK, problem solved by another Google search. :-) Moved .wine aside, let wine reinitialise it, and moved my own stuff into the new .wine. Obviously there was some kind of incompatibility with the old wine configuration.
mla
 
Posts: 292
Joined: Sep 16th, '11, 16:10


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron