Link to home
Start Free TrialLog in
Avatar of menorcanet
menorcanetFlag for Spain

asked on

___Launch system mixer

How can I launch the system audio mixer ?
Avatar of Madshi
Madshi

How about starting "c:\windows\Sndvol32.exe"?

WinExec('c:\windows\sndvol32.exe');

Regards, Madshi.
Avatar of menorcanet

ASKER

and if the user has a different mixer by default ?
ig. I have a SB PCI 64, which includes a new mixer.. and it's not sndvol...
Impossible to tell.....
you'll have to get the user to set this thenmselves in an option panel for instance.
give them an opendialog and ask them to browse to their favorite mixer then save the opendialog filename in the registry.
Regards Barry
I can't.. most users of my program will be people with minimal knowledge.. I can't tell them "what's your default system mixer ?" ;)

well.. k, I'll use SndVol32..
um.. how was it to get the win dir ?
Var path: array[0..MAX_PATH] of char;

GetWindowsDirectory(path, MAX_PATH);
ShowMessage(path);

Or somethong like that...
Oops, I didn't mean to post that as an answer, sorry    :o(

Shame on me!!!
Avatar of simonet
>and it's not sndvol...

SndVol32 is the default win32 mixer. Everybody who's got Windows has it, even though it's not everybody's favorite.

Alex
actually alex would be right because there is no way of changing the default mixer as its not stored anywhere as the default cause it has no file exztensions (does it?),it's just another program..

oh.. well, ok,

emm,now.. who'll get the points ?
Well.... not Bill Gates I guess   :o)
Me...   :O)
ASKER CERTIFIED SOLUTION
Avatar of Madshi
Madshi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
k, thanx Madshi..
also thanx.. Epsylon .. fot the win path..

and thanx to all the others also..