Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to change the default Audio sound system to ALSA so it fixes some sound issues. How can this be done?

Am using 1.3.x branch from PPA which is much better than the 1.1.x and 1.2.x in every way.

share|improve this question
    
not sure I understand you - what setting have you got in the audio tab of winecfg? –  fossfreedom Nov 8 '11 at 18:26
    
By default wine uses winepulse. There is no setting to change that. The only settings there are to change the audio card. –  Luis Alvarado Nov 8 '11 at 18:47
add comment

4 Answers

up vote 9 down vote accepted

I am aware that wine has just undergone a complete rewrite of the audio system and maybe winetricks could still help with your question...

In a terminal run

winetricks

enter image description here

enter image description here

enter image description here

share|improve this answer
1  
Yes it works and it works better for going back to another sound than the one I was going to mention. –  Luis Alvarado Nov 8 '11 at 21:06
add comment

Another way is running gstreamer-properties and selecting ALSA, OSS or PulseAudio in the Default Output and Default Input options. Whichever option the user prefers. Works like the winetricks mentioned by fossfreedom but this is only for sound in general. In his case you can do a lot more.

share|improve this answer
add comment

All you need to do is enable Alsa and disable all others in winecfg. You can also try padsp wine insert-application-name-here, this will redirect it to OSS, but fixes many problems with sound.

If you do not see the option there, you may be able to add it to your .reg file (You may need to look at the WINE Wiki to find out how to do this).

share|improve this answer
    
There is no setting in 1.3.25+ to change that. –  Luis Alvarado Nov 8 '11 at 18:48
    
@LuisAlvarado I haven't used WineCfg in a little while, but can you post a screenshot? –  RolandiXor Nov 8 '11 at 18:52
    
Ok this is awkward. I was going to put a screenshot of the audio tab of the winecfg but I did something before. Since I was looking for someway to manage the audio I found that gstreamer-properties can change the default audio system manager. After just changing it to Alsa wine is not using winealsa.drv forever and it solved several issues with it. But now I can not go back to pulseaudio for wine. I will put it as an answer if I give up trying to send it back to winepulse. –  Luis Alvarado Nov 8 '11 at 19:42
    
@LuisAlvarado I'm confused... but okay. –  RolandiXor Nov 8 '11 at 19:47
add comment

I agree with FossFreedom, however I would add that you may also need to un-install Wine and delete the .wine folder, and then re-install a fresh copy of Wine, should your Windows application are not working properly.

This time configuring Winetricks as described BEFORE installing any Windows application.

Worked for me.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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