Change between OSS and ALSA in command line

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
cdahmedeh
Level 1
Level 1
Posts: 5
Joined: Mon Dec 29, 2008 8:04 pm

Change between OSS and ALSA in command line

Post by cdahmedeh »

Hello,

I've noticed that certains applications with ALSA better and others work better with OSS. Is there a way to change this via command line since I don't want to open winecfg everytime I want to open an application. For example, lets say I want to run App1.exe with OSS and App2.exe with ALSA is there any possible way to do something like :
-wine App1.exe --sound-system=oss
-wine App2.exe --sound-system=alsa

Trying to make a custom configuration in winecfg does not let me define the sound driver for a specific application, its only a global setting.

Thanks for your help.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Change between OSS and ALSA in command line

Post by vitamin »

cdahmedeh wrote:Is there a way to change this via command line?
No. Sound driver is a global setting that affects the entire Wine.
With that said you can always change registry before starting an application. Or better yet - use separate wineprefixes.
Locked